Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15332571
D18399.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
633 B
Referenced Files
None
Subscribers
None
D18399.diff
View Options
diff --git a/src/applications/differential/xaction/DifferentialRevisionReopenTransaction.php b/src/applications/differential/xaction/DifferentialRevisionReopenTransaction.php
--- a/src/applications/differential/xaction/DifferentialRevisionReopenTransaction.php
+++ b/src/applications/differential/xaction/DifferentialRevisionReopenTransaction.php
@@ -39,7 +39,7 @@
}
protected function validateAction($object, PhabricatorUser $viewer) {
- if ($object->isPublished()) {
+ if (!$object->isPublished()) {
throw new Exception(
pht(
'You can not reopen this revision because it is not closed. '.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 8, 6:09 PM (2 w, 9 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7383657
Default Alt Text
D18399.diff (633 B)
Attached To
Mode
D18399: Fix an inverted condition for the "Reopen Revision" action
Attached
Detach File
Event Timeline
Log In to Comment