journal strip fix

This commit is contained in:
SJ 2013-12-19 13:24:27 +01:00
parent 6b227e6509
commit f5a5c6a1c0

View File

@ -225,6 +225,9 @@ class ModelSearchMessage extends Model {
$p = strstr($msg, "\nX-MS-Journal-Report:");
if(!$p) {
$p = strstr($msg, "\nX-MS-Exchange-Organization-Auth");
}
$msg = '';
if($p) {
@ -270,6 +273,10 @@ class ModelSearchMessage extends Model {
}
$p = strstr($msg, "\nX-MS-Journal-Report:");
if(!$p) {
$p = strstr($msg, "\nX-MS-Exchange-Organization-Auth");
}
if($p) {
$has_journal = 1;