From 36542b818ae9e124e786a7588d1da0d64ab33095 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 11 Apr 2019 18:36:22 +0200 Subject: [PATCH] Error management --- 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 4dbe113b008..46fe3aed185 100644 --- a/htdocs/emailcollector/class/emailcollector.class.php +++ b/htdocs/emailcollector/class/emailcollector.class.php @@ -1348,7 +1348,7 @@ class EmailCollector extends CommonObject else { // Nothing can be done for this param - $errorforthisaction++; + $errorforaction++; $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; } @@ -1361,7 +1361,7 @@ class EmailCollector extends CommonObject } else { - $errorforthisaction++; + $errorforaction++; $this->error = 'Bad syntax for description of action parameters: '.$actionparam; $this->errors[] = $this->error; break;