From 814f07644b8a0fb58d566266c438c7f43bd0d0df Mon Sep 17 00:00:00 2001 From: Mariusz Krzaczkowski Date: Wed, 23 Oct 2019 11:49:13 +0200 Subject: [PATCH] Improvements to email search --- plugins/yetiforce/yetiforce.php | 4 ++-- version.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/yetiforce/yetiforce.php b/plugins/yetiforce/yetiforce.php index 367f4bb4..2ace1737 100644 --- a/plugins/yetiforce/yetiforce.php +++ b/plugins/yetiforce/yetiforce.php @@ -262,8 +262,8 @@ public function messageComposeHead($args) chdir($this->rc->config->get('root_directory')); $this->loadCurrentUser(); - $subjectNumber = \App\Fields\Email::findRecordNumber($subject, $params['crmmodule']); - $recordNumber = \App\Fields\Email::findRecordNumber("[{$params['recordNumber']}]", $params['crmmodule']); + $subjectNumber = \App\Mail\RecordFinder::findByRecordNumber($subject, $params['crmmodule']); + $recordNumber = \App\Mail\RecordFinder::findByRecordNumber("[{$params['recordNumber']}]", $params['crmmodule']); if (false === $subject || (false !== $subject && $subjectNumber !== $recordNumber)) { $subject = "[{$params['recordNumber']}] $subject"; } diff --git a/version.php b/version.php index 783c4049..cf57d399 100644 --- a/version.php +++ b/version.php @@ -1,6 +1,6 @@ '2019.10.04', - 'version' => '0.0.81' + 'patch' => '2019.10.23', + 'version' => '0.0.82' ];