diff --git a/scp/tickets.php b/scp/tickets.php
index 9cc247cc68cf8aeed4530dfff6333ce5bf105921..2d408d503e8a1050ac13f6b61308b678d9f22487 100644
--- a/scp/tickets.php
+++ b/scp/tickets.php
@@ -476,7 +476,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).'" />');
 }