Fix undefined variable warnings.
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 17 Dec 2008 06:05:00 +0000 (23:05 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 17 Dec 2008 06:05:00 +0000 (23:05 -0700)
imp/lib/Views/ListMessages.php

index 333ff41..c3e358b 100644 (file)
@@ -158,7 +158,7 @@ class IMP_Views_ListMessages
          * cacheid returned from the browser. If it has changed, we need to
          * purge the cached items on the browser (send 'reset' param to
          * ViewPort). */
-        if (!$md->search &&
+        if (isset($md->search) &&
             !empty($args['cacheid']) &&
             !empty($args['cached'])) {
             $uid_expire = false;