@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix an inverted condition for the "Reopen Revision" action

Summary: Ref T2543. I converted this condition the wrong way, missing a `!`. I'll cherry-pick this to `stable`.

Test Plan: No more "Reopen Revision" action available on open revisions.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T2543

Differential Revision: https://secure.phabricator.com/D18399

+1 -1
+1 -1
src/applications/differential/xaction/DifferentialRevisionReopenTransaction.php
··· 39 39 } 40 40 41 41 protected function validateAction($object, PhabricatorUser $viewer) { 42 - if ($object->isPublished()) { 42 + if (!$object->isPublished()) { 43 43 throw new Exception( 44 44 pht( 45 45 'You can not reopen this revision because it is not closed. '.