From: epriestley Date: Fri, 28 Jan 2011 19:37:44 +0000 (-0800) Subject: Fix a bogus idx() call. X-Git-Tag: conduit-4~428 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=ac7fd22061458407f5939fe91dabbf3f3fe0d28a;p=arcanist.git Fix a bogus idx() call. Summary: Test Plan: Reviewers: CC: --- diff --git a/src/workflow/patch/ArcanistPatchWorkflow.php b/src/workflow/patch/ArcanistPatchWorkflow.php index 29ceefa0..e203df60 100644 --- a/src/workflow/patch/ArcanistPatchWorkflow.php +++ b/src/workflow/patch/ArcanistPatchWorkflow.php @@ -226,7 +226,7 @@ EOTEXT $props = $prop_old + $prop_new; foreach ($props as $key => $ignored) { if (idx($prop_old, $key) !== idx($prop_new, $key)) { - $propset[$change->getCurrentPath()][$key] = idx($prop_new[$key]); + $propset[$change->getCurrentPath()][$key] = idx($prop_new, $key); } } }