diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php index ad23ecacaa7..4a6cf18d0ed 100644 --- a/htdocs/product/class/product.class.php +++ b/htdocs/product/class/product.class.php @@ -3058,7 +3058,8 @@ class Product extends CommonObject */ function LibStatut($status,$mode=0,$type=0) { - global $langs; + global $conf, $langs; + $langs->load('products'); if (!empty($conf->productbatch->enabled)) $langs->load("productbatch");