mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 00:17:03 +03:00
Don't suppress functions
This commit is contained in:
parent
1009398d0c
commit
559ebe0f28
28 changed files with 244 additions and 265 deletions
|
|
@ -131,7 +131,7 @@ class Property
|
|||
// lower value for searching
|
||||
if ($this->IsValueForLower() && \MailSo\Base\Utils::FunctionExistsAndEnabled('mb_strtolower'))
|
||||
{
|
||||
$this->ValueLower = (string) @\mb_strtolower($this->Value, 'UTF-8');
|
||||
$this->ValueLower = (string) \mb_strtolower($this->Value, 'UTF-8');
|
||||
}
|
||||
|
||||
// phone value for searching
|
||||
|
|
|
|||
|
|
@ -1869,7 +1869,7 @@ SQLITEINITIAL;
|
|||
|
||||
return '%'.\str_replace(array($sEscapeSign, '_', '%'),
|
||||
array($sEscapeSign.$sEscapeSign, $sEscapeSign.'_', $sEscapeSign.'%'),
|
||||
(string) @\mb_strtolower($sSearch, 'UTF-8')).'%';
|
||||
(string) \mb_strtolower($sSearch, 'UTF-8')).'%';
|
||||
}
|
||||
|
||||
private function specialConvertSearchValueCustomPhone(string $sSearch) : string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue