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

Minor, fix redirect on /active/ to avoid view//username.

This commit is contained in:
epriestley 2012-03-04 15:58:22 -08:00
parent 34efbc8eb4
commit dd7eb969b3

View file

@ -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();