Fix bug : the code was not updated after the renaming of CFGCARDCAT in CMCARD
This commit is contained in:
parent
ab13a65796
commit
82808d24a5
2 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ if (!defined('ALLOWED'))
|
|||
/**
|
||||
* ajax_template_cat_card add security , accessible only for CFGCARDCAT
|
||||
*/
|
||||
if ( $g_user->check_module ("CFGCARDCAT")==0)
|
||||
if ( $g_user->check_module ("CMCARD")==0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ $answer['message']=_("Commande inconnue");
|
|||
*/
|
||||
try
|
||||
{
|
||||
if ($g_user->check_module("CFGCARDCAT")==0)
|
||||
if ($g_user->check_module("CMCARD")==0)
|
||||
throw new Exception(_("Accès non autorisé"));
|
||||
$http=new HttpInput();
|
||||
$action=$http->request("action");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue