Page MenuHomePhabricator

D19925.diff
No OneTemporary

D19925.diff

diff --git a/src/applications/project/editor/PhabricatorProjectTransactionEditor.php b/src/applications/project/editor/PhabricatorProjectTransactionEditor.php
--- a/src/applications/project/editor/PhabricatorProjectTransactionEditor.php
+++ b/src/applications/project/editor/PhabricatorProjectTransactionEditor.php
@@ -55,12 +55,12 @@
case PhabricatorProjectParentTransaction::TRANSACTIONTYPE:
case PhabricatorProjectMilestoneTransaction::TRANSACTIONTYPE:
if ($xaction->getNewValue() === null) {
- continue;
+ continue 2;
}
if (!$parent_xaction) {
$parent_xaction = $xaction;
- continue;
+ continue 2;
}
$errors[] = new PhabricatorApplicationTransactionValidationError(
@@ -71,8 +71,7 @@
'project or milestone project. A project can not be both a '.
'subproject and a milestone.'),
$xaction);
- break;
- break;
+ break 2;
}
}

File Metadata

Mime Type
text/plain
Expires
Fri, Aug 15, 12:48 AM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8413170
Default Alt Text
D19925.diff (1 KB)

Event Timeline