deleted html output
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 9 Jul 2002 10:23:46 +0000 (10:23 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 9 Jul 2002 10:23:46 +0000 (10:23 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3078 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_search.php

index 1a2d9008f40940d6bc6742ef659e375be8fd8da7..6e6d54ee1649d84f64f4f68f9011d9f8bd416d51 100644 (file)
@@ -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 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 -->";
     }
         }
         echo "<!-- $errors -->";
     }