FIX: mask selector fournisseur if module not activate
This commit is contained in:
parent
7004747ca3
commit
dbd56bc03e
@ -676,7 +676,7 @@ if (empty($type) || $type == 'c' || $type == 'p')
|
|||||||
}
|
}
|
||||||
if (empty($type) || $type == 'f')
|
if (empty($type) || $type == 'f')
|
||||||
{
|
{
|
||||||
if (!empty($conf->categorie->enabled) && $user->rights->categorie->lire)
|
if (!empty($conf->fournisseur->enabled) && !empty($conf->categorie->enabled) && $user->rights->categorie->lire)
|
||||||
{
|
{
|
||||||
require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';
|
||||||
$moreforfilter .= '<div class="divsearchfield">';
|
$moreforfilter .= '<div class="divsearchfield">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user