Skip to content

Commit 982bbfa

Browse files
committed
Ticket: #fix advanced search to give result - refs BT#22634
1 parent 4eb2ffe commit 982bbfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/inc/lib/TicketManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ public static function getTotalTicketsCurrentUser()
10821082
];
10831083

10841084
foreach ($keywords as $keyword => $sqlLabel) {
1085-
if (isset($_GET[$keyword])) {
1085+
if (!empty($_GET[$keyword])) {
10861086
$data = Database::escape_string(trim($_GET[$keyword]));
10871087
$sql .= " AND $sqlLabel = '$data' ";
10881088
}

0 commit comments

Comments
 (0)