From 49fee638e939257d357f9969a776dc965fde1084 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 11 Apr 2019 18:34:06 +0200 Subject: [PATCH] Fix assign string into array --- htdocs/emailcollector/class/emailcollector.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/emailcollector/class/emailcollector.class.php b/htdocs/emailcollector/class/emailcollector.class.php index 55a74224e77..4dbe113b008 100644 --- a/htdocs/emailcollector/class/emailcollector.class.php +++ b/htdocs/emailcollector/class/emailcollector.class.php @@ -804,7 +804,7 @@ class EmailCollector extends CommonObject { // Nothing can be done for this param $errorforthisaction++; - $this->errors = 'The extract rule to use has on an unknown source (must be HEADER, SUBJECT or BODY)'; + $this->error = 'The extract rule to use has on an unknown source (must be HEADER, SUBJECT or BODY)'; $this->errors[] = $this->error; } } @@ -1349,7 +1349,7 @@ class EmailCollector extends CommonObject { // Nothing can be done for this param $errorforthisaction++; - $this->errors = 'The extract rule to use to load thirdparty has on an unknown source (must be HEADER, SUBJECT or BODY)'; + $this->error = 'The extract rule to use to load thirdparty has on an unknown source (must be HEADER, SUBJECT or BODY)'; $this->errors[] = $this->error; } }