mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-01 04:22:15 +08:00
Resolve #545
This commit is contained in:
parent
b12852bd08
commit
036bac7914
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ abstract class SearchCriterias
|
|||
return $sCriteriasResult ?: 'ALL';
|
||||
}
|
||||
|
||||
private static function escapeSearchString(\MailSo\Imap\ImapClient $oImapClient, string $sSearch) : string
|
||||
public static function escapeSearchString(\MailSo\Imap\ImapClient $oImapClient, string $sSearch) : string
|
||||
{
|
||||
return !\MailSo\Base\Utils::IsAscii($sSearch)
|
||||
? '{'.\strlen($sSearch).'}'."\r\n".$sSearch : $oImapClient->EscapeString($sSearch);
|
||||
|
|
Loading…
Reference in a new issue