From 4e14c2817c5c8522aa11e1c742c3f485fe5d46dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 16 Oct 2018 22:09:11 +0200 Subject: [PATCH] add errors def to form class --- htdocs/core/class/html.form.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index edcb68ca3a7..1cc02f0939a 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -58,6 +58,11 @@ class Form */ public $error=''; + /** + * @var string[] Array of error strings + */ + public $errors = array(); + public $num; // Cache arrays