From cbd10106b8bac7ccc9cd3d844ce841c5d0200104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a=20de=20La=20Fuente?= Date: Fri, 18 Jul 2014 03:17:05 +0200 Subject: [PATCH] Added missing $error and $errors variables --- htdocs/core/triggers/DolibarrTriggers.class.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/htdocs/core/triggers/DolibarrTriggers.class.php b/htdocs/core/triggers/DolibarrTriggers.class.php index 5c28d1f8889..6293e0043ff 100644 --- a/htdocs/core/triggers/DolibarrTriggers.class.php +++ b/htdocs/core/triggers/DolibarrTriggers.class.php @@ -55,6 +55,19 @@ abstract class DolibarrTriggers { */ public $family = ''; + /** + * Error reported by the trigger + * @var string + * @deprecated Use $this->errors + */ + public $error = ''; + + /** + * Errors reported by the trigger + * @var array + */ + public $errors = array(); + const VERSION_DEVELOPMENT = 'development'; const VERSION_EXPERIMENTAL = 'experimental'; const VERSION_DOLIBARR = 'dolibarr';