1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-02 02:40:58 +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()) $actions = id(new PhabricatorActionListView())
->setUser($user) ->setUser($user)
->setObject($revision) ->setObject($revision);
->setObjectURI($this->getRequest()->getRequestURI());
foreach ($this->getActions() as $action) { foreach ($this->getActions() as $action) {
$obj = id(new PhabricatorActionView()) $obj = id(new PhabricatorActionView())
->setIcon(idx($action, 'icon', 'edit')) ->setIcon(idx($action, 'icon', 'edit'))