1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-22 11:39:03 +01:00

Fix watcher query to work correctly with no watchers.

This commit is contained in:
epriestley 2014-05-20 06:35:02 -07:00
parent 5f33aa5b4f
commit 16a2876448

View file

@ -1922,7 +1922,7 @@ abstract class PhabricatorApplicationTransactionEditor
$query->execute(); $query->execute();
$watcher_phids = $query->getDestinationPHIDs(); $watcher_phids = $query->getDestinationPHIDs();
if ($watcher_phids) {
// We need to do a visibility check for all the watchers, as // We need to do a visibility check for all the watchers, as
// watching a project is not a guarantee that you can see objects // watching a project is not a guarantee that you can see objects
// associated with it. // associated with it.
@ -1941,6 +1941,7 @@ abstract class PhabricatorApplicationTransactionEditor
} }
} }
} }
}
$has_support = true; $has_support = true;
} }