瀏覽代碼

deleted html output

stekkel 23 年之前
父節點
當前提交
5e4f3539d7
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      functions/imap_search.php

+ 1 - 4
functions/imap_search.php

@@ -78,10 +78,7 @@ function sqimap_search($imapConnection, $search_where, $search_what, $mailbox,
     /* If nothing is found * SEARCH should be the first error else echo errors */
     /* If nothing is found * SEARCH should be the first error else echo errors */
     if (isset($errors)) {
     if (isset($errors)) {
         if (strstr($errors,'* SEARCH')) {
         if (strstr($errors,'* SEARCH')) {
-            if ($search_all != 'all') {
-                echo '<br><CENTER>' . _("No Messages Found") . '</CENTER>';
-            }
-            return;
+            return array();
         }
         }
         echo "<!-- $errors -->";
         echo "<!-- $errors -->";
     }
     }