/**
* imap_search.php
*
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Copyright (c) 1999-2003 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* IMAP search routines
require_once(SM_PATH . 'functions/imap.php');
require_once(SM_PATH . 'functions/date.php');
-require_once(SM_PATH . 'functions/array.php');
require_once(SM_PATH . 'functions/mailbox_display.php');
require_once(SM_PATH . 'functions/mime.php');
if (strstr($errors,'* SEARCH')) {
return array();
}
- echo "<!-- $errors -->";
+ echo '<!-- '.htmlspecialchars($errors) .' -->';
}