FIX tag selector error if supplier disable
This commit is contained in:
parent
b00628118a
commit
379cb74cd9
@ -575,7 +575,7 @@ if (!empty($conf->categorie->enabled) && $user->rights->categorie->lire)
|
||||
$moreforfilter .= $formother->select_categories(Categorie::TYPE_CUSTOMER, $search_categ_thirdparty, 'search_categ_thirdparty', 1);
|
||||
$moreforfilter .= '</div>';
|
||||
}
|
||||
if (empty($type) || $type == 'f')
|
||||
if (!empty($conf->fournisseur->enabled) && (empty($type) || $type == 'f'))
|
||||
{
|
||||
$moreforfilter .= '<div class="divsearchfield">';
|
||||
$moreforfilter .= $langs->trans('SuppliersCategoriesShort').': ';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user