Homec4science

Fix error in D5634

Authored by Juan Pablo Civile <elementohb@gmail.com> on Apr 15 2013, 17:41.

Description

Fix error in D5634

Summary:
The original code seemed to assume the last level of edges was the destination edge, when it was an array under the destination edge key.
Using array_keys fixes the crashes that resulted when commits had tasks, projects or revisions attached.

Test Plan: Open up a commit with a revision attached.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin, vrana

Differential Revision: https://secure.phabricator.com/D5698

Details

Committed
epriestley <git@epriestley.com>Apr 15 2013, 17:42
Pushed
aubortJan 31 2017, 17:16
Parents
rPHbd350abbe91c: Probably added app menu for mobile
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH141228343c84: Fix error in D5634 (authored by Juan Pablo Civile <elementohb@gmail.com>).Apr 15 2013, 17:42