HomePhorge

Fix error in D5634

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

Provenance
Juan Pablo CivileAuthored on Apr 15 2013, 8:41 AM
epriestleyCommitted on Apr 15 2013, 8:42 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPbd350abbe91c: Probably added app menu for mobile
Branches
Unknown
Tags
Unknown

Event Timeline