diff --git a/htdocs/core/class/discount.class.php b/htdocs/core/class/discount.class.php index f310f6e4d04..5993729b7ac 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; //