From 35fae8f452f151fb74264d63ed0ed6237a7397ca Mon Sep 17 00:00:00 2001 From: Gareth Evans Date: Sun, 23 Jun 2013 16:03:11 -0700 Subject: [PATCH] Fix foreach key named same as arr Summary: I assume this is a bug! Test Plan: Look at it Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D6279 --- .../specification/DifferentialDependsOnFieldSpecification.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applications/differential/field/specification/DifferentialDependsOnFieldSpecification.php b/src/applications/differential/field/specification/DifferentialDependsOnFieldSpecification.php index af57c4a186..19a0a483c1 100644 --- a/src/applications/differential/field/specification/DifferentialDependsOnFieldSpecification.php +++ b/src/applications/differential/field/specification/DifferentialDependsOnFieldSpecification.php @@ -22,8 +22,8 @@ final class DifferentialDependsOnFieldSpecification } $links = array(); - foreach ($revision_phids as $revision_phids) { - $links[] = $this->getHandle($revision_phids)->renderLink(); + foreach ($revision_phids as $revision_phid) { + $links[] = $this->getHandle($revision_phid)->renderLink(); } return phutil_implode_html(phutil_tag('br'), $links);