mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-21 11:09:02 +01:00
Fix watcher query to work correctly with no watchers.
This commit is contained in:
parent
5f33aa5b4f
commit
16a2876448
1 changed files with 16 additions and 15 deletions
|
@ -1922,7 +1922,7 @@ abstract class PhabricatorApplicationTransactionEditor
|
|||
$query->execute();
|
||||
|
||||
$watcher_phids = $query->getDestinationPHIDs();
|
||||
|
||||
if ($watcher_phids) {
|
||||
// We need to do a visibility check for all the watchers, as
|
||||
// watching a project is not a guarantee that you can see objects
|
||||
// associated with it.
|
||||
|
@ -1941,6 +1941,7 @@ abstract class PhabricatorApplicationTransactionEditor
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$has_support = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue