diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php index e46128750da..436613f2777 100644 --- a/htdocs/product/class/product.class.php +++ b/htdocs/product/class/product.class.php @@ -5460,7 +5460,7 @@ class Product extends CommonObject */ public function hasbatch() { - return ($this->status_batch == 1 ? true : false); + return ($this->status_batch > 0 ? true : false); }