mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
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($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';
|
||||
$moreforfilter .= '<div class="divsearchfield">';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user