Skip to content
Snippets Groups Projects
Commit 9aa6ca64 authored by Peter Rotich's avatar Peter Rotich
Browse files

Recent Searches - Exclude user lookup

Exclude user lookup done on ticket create from Recent Searches
parent e0940d03
Branches
Tags
No related merge requests found
......@@ -43,8 +43,11 @@ if (!$ticket) {
$queue_id = null;
// Search for user
if (isset($_GET['uid'])
&& ($user = User::lookup($_GET['uid']))
if (isset($_GET['uid']))
$user = User::lookup($_GET['uid']);
if ($user
&& $_GET['a'] !== 'open'
) {
$criteria = [
['user__name', 'equal', $user->name],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment