diff --git a/htdocs/categories/liste.php b/htdocs/categories/liste.php index 3e7b587e951..a9cdeb6f149 100644 --- a/htdocs/categories/liste.php +++ b/htdocs/categories/liste.php @@ -28,6 +28,7 @@ require "./pre.inc.php"; +if (!$user->rights->categorie->lire) accessforbidden(); llxHeader ("","",$langs->trans("Categories")); @@ -47,10 +48,11 @@ if ($cats != -1) print '
| '.$langs->trans("AllCats").' | |
| ".$cat->label." | \n"; print "\t\t".$cat->description." | \n"; print "\t