* Also view plugins/README.plugins for more information.
*
* @version $Id$
- * @copyright (c) 1999-2004 The SquirrelMail Project Team
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @package plugins
* @subpackage filters
$should_expunge) {
global $languages, $squirrelmail_language, $allow_charset_search, $imap_server_type;
+ if (strtolower($where_to) == 'inbox') {
+ return array();
+ }
+
+
if ($user_scan == 'new') {
$category = 'UNSEEN';
} else {
$what = addslashes(trim($what[1]));
}
- if ($imap_server_type == 'macosx') {
+ // see comments in squirrelmail sqimap_search function
+ if ($imap_server_type == 'macosx' || $imap_server_type == 'hmailserver') {
$search_str .= ' ' . $where . ' ' . $what;
} else {
$search_str .= ' ' . $where . ' {' . strlen($what) . "}\r\n"
echo $string;
echo "</font></p>\n";
}
-?>
\ No newline at end of file
+?>