projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Handle messages from the user's email_address as Sent messages
[squirrelmail.git]
/
functions
/
imap_search.php
diff --git
a/functions/imap_search.php
b/functions/imap_search.php
index d7b1924b46ceacdd9c11b85f7e433f5d73124c4f..38832fc1be862cc1af0ec8fc60ea3d7ac8b743cb 100644
(file)
--- a/
functions/imap_search.php
+++ b/
functions/imap_search.php
@@
-3,7
+3,7
@@
/**
* imap_search.php
*
/**
* imap_search.php
*
- * Copyright (c) 1999-200
2
The SquirrelMail Project Team
+ * Copyright (c) 1999-200
3
The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* IMAP search routines
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* IMAP search routines
@@
-13,7
+13,6
@@
require_once(SM_PATH . 'functions/imap.php');
require_once(SM_PATH . 'functions/date.php');
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');
require_once(SM_PATH . 'functions/mailbox_display.php');
require_once(SM_PATH . 'functions/mime.php');
@@
-103,7
+102,7
@@
function sqimap_search($imapConnection, $search_where, $search_what, $mailbox,
if (strstr($errors,'* SEARCH')) {
return array();
}
if (strstr($errors,'* SEARCH')) {
return array();
}
- echo
"<!-- $errors -->"
;
+ echo
'<!-- '.htmlspecialchars($errors) .' -->'
;
}
}