1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-20 20:40:56 +01:00

Fix fatal on Differential revision view

Auditors: btrahan
This commit is contained in:
epriestley 2013-07-12 22:38:48 -07:00
parent abe24ff1ab
commit ad17c99c1b

View file

@ -45,8 +45,7 @@ final class DifferentialRevisionDetailView extends AphrontView {
$actions = id(new PhabricatorActionListView())
->setUser($user)
->setObject($revision)
->setObjectURI($this->getRequest()->getRequestURI());
->setObject($revision);
foreach ($this->getActions() as $action) {
$obj = id(new PhabricatorActionView())
->setIcon(idx($action, 'icon', 'edit'))