Reported by Benny Pedersen. Can't understand how he managed to reach that
sqm_trigger_imap_error call.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11339
7612ce4b-ef26-0410-bec9-
ea0150e637f0
sqimap_msgs_list_move ($imap_stream, $ids, $where_to, false);
}
} elseif ($response != 'OK') {
+ $query = $search_str . "\r\n".$what ."\r\n";
if ($response == 'NO') {
- $query = $search_str . "\r\n".$what ."\r\n";
if (strpos($message,'BADCHARSET') !== false ||
strpos($message,'character') !== false) {
sqm_trigger_imap_error('SQM_IMAP_BADCHARSET',$query, $response, $message);