From 9b141e9d1d2b43b4b9af8216be0d5a6e90871753 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 5 Apr 2023 03:26:27 +0200 Subject: [PATCH] var not used --- htdocs/adherents/class/adherent_type.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/adherents/class/adherent_type.class.php b/htdocs/adherents/class/adherent_type.class.php index b17453bc646..9ee0de6c055 100644 --- a/htdocs/adherents/class/adherent_type.class.php +++ b/htdocs/adherents/class/adherent_type.class.php @@ -996,8 +996,6 @@ class AdherentType extends CommonObject { global $langs, $user; - $selected = (empty($arraydata['selected']) ? 0 : $arraydata['selected']); - $return = '
'; $return .= '
'; $return .= ''; @@ -1005,7 +1003,10 @@ class AdherentType extends CommonObject $return .= ''; $return .= '
'; $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).''; + + //$selected = (empty($arraydata['selected']) ? 0 : $arraydata['selected']); //$return .= ''; + if ($user->rights->adherent->configurer) { $return .= 'ref).'">'.img_edit().''; } else {