]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Fix a bogus idx() call.
authorepriestley <epriestley@javelinjs.com>
Fri, 28 Jan 2011 19:37:44 +0000 (11:37 -0800)
committerepriestley <epriestley@javelinjs.com>
Fri, 28 Jan 2011 19:37:44 +0000 (11:37 -0800)
Summary:

Test Plan:

Reviewers:

CC:

src/workflow/patch/ArcanistPatchWorkflow.php

index 29ceefa057f9db661a7ee526b064515c07b76dc5..e203df60895f92b13020ed0c1fa6ebee887293b5 100644 (file)
@@ -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);
             }
           }
         }