diff --git a/include/staff/tickets.inc.php b/include/staff/tickets.inc.php
index 1415ce76d059cb8617c26f7f66456e51ba9bf4b9..f3336ce0c09a834f57b8be4e3845869e10f56fd8 100644
--- a/include/staff/tickets.inc.php
+++ b/include/staff/tickets.inc.php
@@ -73,7 +73,7 @@ $qwhere .= ' )';
 
 //STATUS
 if($status) {
-    $qwhere.=' AND status='.db_input(strtolower($status));
+    $qwhere.=' AND ticket.status='.db_input(strtolower($status));
 }
 
 if (isset($_REQUEST['ownerId'])) {