Fix bug : forget to change 2 code menus CFGCARD to CCARD and CFGATCARD for CCARDAT

This commit is contained in:
sparkyx 2021-12-26 22:36:29 +01:00
parent 8351d70a53
commit 824788d179
3 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@
*/
global $g_user;
// security
$g_user->can_request("CFGATCARD");
$g_user->can_request("CCARDAT");
$http=new HttpInput();

View file

@ -20,7 +20,7 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/*!\file
* \brief Manage the attributs ,CFGATCARD
* \brief Manage the attributs ,CCARDAT
*/
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');

View file

@ -149,7 +149,7 @@ if ($ss_action=='cn')
if (empty($filter))
{
echo '<span class="notice">';
$url="do.php?".http_build_query(array('gDossier'=>Dossier::id(), 'ac'=>'CFGCARD'));
$url="do.php?".http_build_query(array('gDossier'=>Dossier::id(), 'ac'=>'CCARD'));
echo '<a class="line" href="'.$url.'" targer="_blank">';
echo _("Vous devez aller dans fiche et créer une catégorie pour les contacts");
echo '</a>';