mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Fix Differential flag view bug
Summary: See D3125#3 Test Plan: Well, apparently the FB test Phabricator has no other flags in it, so I modified the database by hand... the changed revision was not marked as flagged in Differential. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T1557 Differential Revision: https://secure.phabricator.com/D3130
This commit is contained in:
parent
88caa45854
commit
d391177984
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ final class DifferentialRevisionListView extends AphrontView {
|
|||
}
|
||||
|
||||
$flags = id(new PhabricatorFlagQuery())
|
||||
->withOwnerPHIDs(array($user->getPHID()))
|
||||
->withObjectPHIDs(mpull($this->revisions, 'getPHID'))
|
||||
->execute();
|
||||
$flagged = mpull($flags, null, 'getObjectPHID');
|
||||
|
|
Loading…
Reference in a new issue