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

oops: Don't make queue sticky on search

parent 2e64e7ef
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,9 @@ if($_REQUEST['id']) { ...@@ -39,7 +39,9 @@ if($_REQUEST['id']) {
if ($_REQUEST['uid']) { if ($_REQUEST['uid']) {
$user = User::lookup($_REQUEST['uid']); $user = User::lookup($_REQUEST['uid']);
} }
elseif (!isset($_REQUEST['status']) && isset($_SESSION['::Q'])) { elseif (!isset($_REQUEST['advsid']) && @$_REQUEST['a'] != 'search'
&& !isset($_REQUEST['status']) && isset($_SESSION['::Q'])
) {
$_REQUEST['status'] = $_SESSION['::Q']; $_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.
Please register or to comment