Skip to content

Commit

Permalink
Improvements to email search
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuszkrzaczkowski committed Oct 24, 2019
1 parent 814f076 commit 806bda4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions plugins/yetiforce/yetiforce.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ public function messageComposeHead($args)
chdir($this->rc->config->get('root_directory'));
$this->loadCurrentUser();

$subjectNumber = \App\Mail\RecordFinder::findByRecordNumber($subject, $params['crmmodule']);
$recordNumber = \App\Mail\RecordFinder::findByRecordNumber("[{$params['recordNumber']}]", $params['crmmodule']);
$subjectNumber = \App\Mail\RecordFinder::getRecordNumberFromString($subject, $params['crmmodule']);
$recordNumber = \App\Mail\RecordFinder::getRecordNumberFromString("[{$params['recordNumber']}]", $params['crmmodule']);
if (false === $subject || (false !== $subject && $subjectNumber !== $recordNumber)) {
$subject = "[{$params['recordNumber']}] $subject";
}
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.23',
'version' => '0.0.82'
'patch' => '2019.10.24',
'version' => '0.0.83'
];

0 comments on commit 806bda4

Please sign in to comment.