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

Minor, fix a fatal on Herald Admin controller

Summary:
Just a bad merge for the edit history, I think. We need to pass $user or we
fatal trying to render timestamps.

https://secure.phabricator.com/herald/all/view/differential/

Test Plan: Looked at Herald admin view.

Reviewers: jungejason, xela, nh, btrahan, fratrik

Reviewed By: fratrik

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1611
This commit is contained in:
epriestley 2012-02-14 15:40:04 -08:00
parent 6a17de65df
commit ba05ac595c

View file

@ -92,6 +92,7 @@ class HeraldAllRulesController extends HeraldController {
->setMap($map) ->setMap($map)
->setShowType(true) ->setShowType(true)
->setAllowCreation(false) ->setAllowCreation(false)
->setUser($user)
->setView($this->view); ->setView($this->view);
$panel = $list_view->render(); $panel = $list_view->render();
$panel->appendChild($pager); $panel->appendChild($pager);