mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 09:20:58 +01:00
Fix another missing viewer when loading commits
Auditors: vrana
This commit is contained in:
parent
69dcd47751
commit
7b76c8ef27
1 changed files with 3 additions and 1 deletions
|
@ -381,7 +381,9 @@ final class PhabricatorAuditCommentEditor extends PhabricatorEditor {
|
|||
|
||||
$commit_phid = $commit->getPHID();
|
||||
$phids = array($commit_phid);
|
||||
$handles = id(new PhabricatorObjectHandleData($phids))->loadHandles();
|
||||
$handles = id(new PhabricatorObjectHandleData($phids))
|
||||
->setViewer($this->getActor())
|
||||
->loadHandles();
|
||||
$handle = $handles[$commit_phid];
|
||||
|
||||
$name = $handle->getName();
|
||||
|
|
Loading…
Reference in a new issue