1
0
Fork 0
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:
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();
$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();