mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 02:01:58 +01:00
journal strip fix
This commit is contained in:
parent
6b227e6509
commit
f5a5c6a1c0
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user