Skip to content

Commit

Permalink
Fix missing category selector
Browse files Browse the repository at this point in the history
Complement to Dolibarr#3893
  • Loading branch information
rdoursenaud committed Nov 5, 2015
1 parent 1927f47 commit 8941154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/contrat/list.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
$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">';
Expand Down

0 comments on commit 8941154

Please sign in to comment.