Fix: Hide if supplier module is disabled
This commit is contained in:
parent
fe75e417ef
commit
7bcffa5f2c
@ -1133,10 +1133,9 @@ else
|
||||
print '</td></tr></table>';
|
||||
|
||||
print '</td></tr>';
|
||||
}
|
||||
|
||||
// Category
|
||||
if ($soc->fournisseur)
|
||||
if ($conf->categorie->enabled && $soc->fournisseur)
|
||||
{
|
||||
$load = $soc->LoadSupplierCateg();
|
||||
if ( $load == 0)
|
||||
@ -1150,6 +1149,7 @@ else
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($conf->global->MAIN_MODULE_BARCODE)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user