parent
1927f47eaa
commit
89411541b3
@ -190,7 +190,7 @@ if ($resql)
|
|||||||
$moreforfilter.='</div>';
|
$moreforfilter.='</div>';
|
||||||
}
|
}
|
||||||
// If the user can view categories of products
|
// If the user can view categories of products
|
||||||
if ($conf->categorie->enabled && $user->rights->produit->lire)
|
if ($conf->categorie->enabled && ($user->rights->produit->lire || $user->rights->service->lire))
|
||||||
{
|
{
|
||||||
include_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';
|
include_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