Merged in bugfix/PMC-895 (pull request #6958)

PMC-895

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Ronald Quenta
2019-07-10 14:04:05 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -132,6 +132,7 @@ class ResponseReader
foreach ($mailsIds as $key => $mailId) {
/** @var IncomingMail $mail */
$mail = $mailbox->getMail($mailId, false);
if (!empty($mail->textPlain)) {
preg_match("/{(.*)}/", $mail->textPlain, $matches);
if ($matches) {
$dataEmail = G::json_decode(Crypt::decryptString($matches[1]), true);
@@ -177,6 +178,7 @@ class ResponseReader
}
}
}
}
} catch (Exception $e) {
Bootstrap::registerMonolog(
$this->channel,