diff --git a/src/applications/people/controller/list/PhabricatorPeopleListController.php b/src/applications/people/controller/list/PhabricatorPeopleListController.php index e5f2d6b81e..991b5fff40 100644 --- a/src/applications/people/controller/list/PhabricatorPeopleListController.php +++ b/src/applications/people/controller/list/PhabricatorPeopleListController.php @@ -20,7 +20,8 @@ class PhabricatorPeopleListController extends PhabricatorPeopleController { public function processRequest() { $request = $this->getRequest(); - $is_admin = $request->getUser()->getIsAdmin(); + $viewer = $request->getUser(); + $is_admin = $viewer->getIsAdmin(); $user = new PhabricatorUser(); @@ -53,8 +54,8 @@ class PhabricatorPeopleListController extends PhabricatorPeopleController { } $rows[] = array( - phabricator_date($user->getDateCreated(), $user), - phabricator_time($user->getDateCreated(), $user), + phabricator_date($user->getDateCreated(), $viewer), + phabricator_time($user->getDateCreated(), $viewer), phutil_render_tag( 'a', array(