Page MenuHomePhabricator

D10088.id24258.diff
No OneTemporary

D10088.id24258.diff

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);
}
}
}

File Metadata

Mime Type
text/plain
Expires
Mon, Oct 28, 2:17 AM (3 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6742876
Default Alt Text
D10088.id24258.diff (1 KB)

Event Timeline