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