Page MenuHomePhabricator

D10088.id.diff
No OneTemporary

D10088.id.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
Tue, Oct 22, 9:31 PM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6742876
Default Alt Text
D10088.id.diff (1 KB)

Event Timeline