Fix missing category selector

Complement to #3893
This commit is contained in:
Raphaël Doursenaud 2015-11-05 18:49:22 +01:00
parent 1927f47eaa
commit 89411541b3

View File

@ -190,7 +190,7 @@ if ($resql)
$moreforfilter.='</div>';
}
// 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';
$moreforfilter.='<div class="divsearchfield">';