diff --git a/scp/tickets.php b/scp/tickets.php
index 10cce9afc34fcf18f2a2f9a7fa7ebe87da0d0aad..28d54abe53df2cee031e1c583cfce7fc15999689 100644
--- a/scp/tickets.php
+++ b/scp/tickets.php
@@ -505,7 +505,7 @@ if($ticket) {
         $nav->setActiveSubMenu(-1);
 
     //set refresh rate if the user has it configured
-    if(!$_POST && $_REQUEST['a']!='search'  && ($min=$thisstaff->getRefreshRate()))
+    if(!$_POST && !$_REQUEST['a'] && ($min=$thisstaff->getRefreshRate()))
         $ost->addExtraHeader('<meta http-equiv="refresh" content="'.($min*60).'" />');
 }