Prechádzať zdrojové kódy

deleted html output

stekkel 23 rokov pred
rodič
commit
5e4f3539d7
1 zmenil súbory, kde vykonal 1 pridanie a 4 odobranie
  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 (isset($errors)) {
         if (strstr($errors,'* SEARCH')) {
-            if ($search_all != 'all') {
-                echo '<br><CENTER>' . _("No Messages Found") . '</CENTER>';
-            }
-            return;
+            return array();
         }
         echo "<!-- $errors -->";
     }