diff --git a/.gitattributes b/.gitattributes index 17d5c942..be9c3816 100644 --- a/.gitattributes +++ b/.gitattributes @@ -18,3 +18,9 @@ *.yarnclean text eol=lf *.lock text eol=lf *.yarn-integrity text eol=lf + +.github/ export-ignore +tests/ export-ignore +.travis.yml export-ignore +.scrutinizer.yml export-ignore +.sensiolabs.yml export-ignore diff --git a/program/steps/mail/autocomplete.inc b/program/steps/mail/autocomplete.inc index 04e30dbb..2b07890c 100644 --- a/program/steps/mail/autocomplete.inc +++ b/program/steps/mail/autocomplete.inc @@ -16,11 +16,7 @@ if (strlen($search)) { $addressBookFile = $RCMAIL->config->get('root_directory') . 'cache/addressBook/mails_' . $crmUserId . '.php'; if (is_file($addressBookFile)) { include $addressBookFile; - foreach ($bookMails as $row) { - if (stripos($row, $search) !== false) { - $contacts[] = $row; - } - } + $contacts = preg_grep("/{$search}/i", $bookMails); } } } diff --git a/version.php b/version.php index b2d9c783..f4fdbf77 100644 --- a/version.php +++ b/version.php @@ -1,6 +1,6 @@ '2019.10.24', - 'version' => '0.0.83' + 'patch' => '2019.11.07', + 'version' => '0.0.84' ];