Skip to content

Commit

Permalink
Added minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuszkrzaczkowski committed Nov 7, 2019
1 parent 806bda4 commit 134ee29
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 1 addition & 5 deletions program/steps/mail/autocomplete.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

return [
'patch' => '2019.10.24',
'version' => '0.0.83'
'patch' => '2019.11.07',
'version' => '0.0.84'
];

0 comments on commit 134ee29

Please sign in to comment.