From c2ce6a16f93ba0e3a98d5134b4b68f5fef14752a Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 16 Dec 2008 23:05:00 -0700 Subject: [PATCH] Fix undefined variable warnings. --- imp/lib/Views/ListMessages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/lib/Views/ListMessages.php b/imp/lib/Views/ListMessages.php index 333ff41c7..c3e358b9b 100644 --- a/imp/lib/Views/ListMessages.php +++ b/imp/lib/Views/ListMessages.php @@ -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; -- 2.11.0