Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F17666224
D19925.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D19925.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Jul 13 2025, 8:43 PM (6 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8413170
Default Alt Text
D19925.diff (1 KB)
Attached To
Mode
D19925: Update continue/break for php 7.3
Attached
Detach File
Event Timeline
Log In to Comment