diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php index f521d10c936..12b2a52742d 100644 --- a/htdocs/user/class/user.class.php +++ b/htdocs/user/class/user.class.php @@ -750,7 +750,9 @@ class User extends CommonObject // In $conf->modules, we have 'accounting', 'product', 'facture', ... // In $user->rights, we have 'accounting', 'produit', 'facture', ... - //if ($a) { var_dump($module); var_dump($this->rights->$rightsPath); var_dump($conf->modules); } + //var_dump($module); + //var_dump($this->rights->$rightsPath); + //var_dump($conf->modules); if (!in_array($module, $conf->modules)) { return 0; }