This commit is contained in:
Laurent Destailleur 2015-10-18 20:57:28 +02:00
parent d0e590f8ea
commit a0e30aa218

View File

@ -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");