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; } }