diff --git a/src/applications/maniphest/editor/ManiphestTransactionEditor.php b/src/applications/maniphest/editor/ManiphestTransactionEditor.php --- a/src/applications/maniphest/editor/ManiphestTransactionEditor.php +++ b/src/applications/maniphest/editor/ManiphestTransactionEditor.php @@ -258,9 +258,9 @@ $new = $unblock_xaction->getNewValue(); foreach ($blocked_tasks as $blocked_task) { - $xactions = array(); + $unblock_xactions = array(); - $xactions[] = id(new ManiphestTransaction()) + $unblock_xactions[] = id(new ManiphestTransaction()) ->setTransactionType(ManiphestTransaction::TYPE_UNBLOCK) ->setOldValue(array($object->getPHID() => $old)) ->setNewValue(array($object->getPHID() => $new)); @@ -275,7 +275,7 @@ ->setContentSource($this->getContentSource()) ->setContinueOnNoEffect(true) ->setContinueOnMissingFields(true) - ->applyTransactions($blocked_task, $xactions); + ->applyTransactions($blocked_task, $unblock_xactions); } } }