Skip to content
Snippets Groups Projects
Commit f1dc3dd4 authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Fix failing basic search from sticky queue

parent 204100b2
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ if($_REQUEST['id']) { ...@@ -39,7 +39,7 @@ if($_REQUEST['id']) {
if ($_REQUEST['uid']) { if ($_REQUEST['uid']) {
$user = User::lookup($_REQUEST['uid']); $user = User::lookup($_REQUEST['uid']);
} }
elseif (!isset($_GET['status']) && isset($_SESSION['::Q'])) { elseif (@!isset($_REQUEST['advanced']) && @$_REQUEST['a'] != 'search' && !isset($_GET['status']) && isset($_SESSION['::Q'])) {
$_GET['status'] = $_REQUEST['status'] = $_SESSION['::Q']; $_GET['status'] = $_REQUEST['status'] = $_SESSION['::Q'];
} }
// Configure form for file uploads // Configure form for file uploads
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment