1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 04:50:55 +01:00

Fix another missing viewer when loading commits

Auditors: vrana
This commit is contained in:
epriestley 2013-02-27 11:50:33 -08:00
parent 69dcd47751
commit 7b76c8ef27

View file

@ -381,7 +381,9 @@ final class PhabricatorAuditCommentEditor extends PhabricatorEditor {
$commit_phid = $commit->getPHID(); $commit_phid = $commit->getPHID();
$phids = array($commit_phid); $phids = array($commit_phid);
$handles = id(new PhabricatorObjectHandleData($phids))->loadHandles(); $handles = id(new PhabricatorObjectHandleData($phids))
->setViewer($this->getActor())
->loadHandles();
$handle = $handles[$commit_phid]; $handle = $handles[$commit_phid];
$name = $handle->getName(); $name = $handle->getName();