Skip to content

Commit

Permalink
Merge pull request #5 from YetiForceCompany/developer
Browse files Browse the repository at this point in the history
Fixed email address search
  • Loading branch information
mariuszkrzaczkowski authored Aug 2, 2017
2 parents e236c79 + f8c2498 commit 8d90719
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion program/steps/mail/autocomplete.inc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if (strlen($search)) {
$crmUserId = $RCMAIL->user->data['crm_user_id'];
}
if ($crmUserId) {
$addressBookFile = '../../../cache/addressBook/mails_' . $crmUserId . '.php';
$addressBookFile = $RCMAIL->config->get('root_directory').'cache/addressBook/mails_' . $crmUserId . '.php';
if (is_file($addressBookFile)) {
include $addressBookFile;
foreach ($bookMails as $row) {
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
return [
'patch' => '2017.07.31',
'version' => '0.0.31'
'patch' => '2017.08.01',
'version' => '0.0.32'
];

0 comments on commit 8d90719

Please sign in to comment.