From dd7eb969b399e9104759f24bb84b9405328fdfdf Mon Sep 17 00:00:00 2001 From: epriestley Date: Sun, 4 Mar 2012 15:58:22 -0800 Subject: [PATCH] Minor, fix redirect on /active/ to avoid view//username. --- .../audit/controller/list/PhabricatorAuditListController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/applications/audit/controller/list/PhabricatorAuditListController.php b/src/applications/audit/controller/list/PhabricatorAuditListController.php index 1eb2631ce9..595145f671 100644 --- a/src/applications/audit/controller/list/PhabricatorAuditListController.php +++ b/src/applications/audit/controller/list/PhabricatorAuditListController.php @@ -30,6 +30,8 @@ final class PhabricatorAuditListController extends PhabricatorAuditController { public function processRequest() { $request = $this->getRequest(); + $nav = $this->buildNavAndSelectFilter(); + if ($request->isFormPost()) { // If the list filter is POST'ed, redirect to GET so the page can be // bookmarked. @@ -51,7 +53,6 @@ final class PhabricatorAuditListController extends PhabricatorAuditController { return id(new AphrontRedirectResponse())->setURI($uri); } - $nav = $this->buildNavAndSelectFilter(); $this->filterStatus = $request->getStr('status', 'all'); $handle = $this->loadHandle();