diff --git a/htdocs/core/class/discount.class.php b/htdocs/core/class/discount.class.php index b3cfb73654b..ac8ab0dd7c2 100644 --- a/htdocs/core/class/discount.class.php +++ b/htdocs/core/class/discount.class.php @@ -38,7 +38,12 @@ class DiscountAbsolute */ public $error; - public $id; // Id discount + /** + * @var string[] Array of error strings + */ + public $errors=array(); + + public $id; // Id discount public $fk_soc; public $discount_type; // 0 => customer discount, 1 => supplier discount public $amount_ht; //