Fix variable warning
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 17 Apr 2009 18:46:12 +0000 (12:46 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 17 Apr 2009 18:46:12 +0000 (12:46 -0600)
imp/ajax.php

index d248f0b..47c160d 100644 (file)
@@ -98,7 +98,7 @@ function _getListMessages($mbox, $change)
 
     // TODO: This can potentially be optimized for arrival time sort - if the
     // cache ID changes, we know the changes must occur at end of mailbox.
-    if (!$res->reset && (Util::getPost('purge') || $change)) {
+    if (empty($res->reset) && (Util::getPost('purge') || $change)) {
         $res->update = 1;
     }