This commit is contained in:
the-djmaze 2022-10-10 13:56:30 +02:00
parent b12852bd08
commit 036bac7914

View file

@ -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);