Fix #3764
This commit is contained in:
parent
d0e590f8ea
commit
a0e30aa218
@ -3058,7 +3058,8 @@ class Product extends CommonObject
|
|||||||
*/
|
*/
|
||||||
function LibStatut($status,$mode=0,$type=0)
|
function LibStatut($status,$mode=0,$type=0)
|
||||||
{
|
{
|
||||||
global $langs;
|
global $conf, $langs;
|
||||||
|
|
||||||
$langs->load('products');
|
$langs->load('products');
|
||||||
if (!empty($conf->productbatch->enabled)) $langs->load("productbatch");
|
if (!empty($conf->productbatch->enabled)) $langs->load("productbatch");
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user