diff --git a/htdocs/user/notify/card.php b/htdocs/user/notify/card.php index cac9a3d476b..307b8ae5bc9 100644 --- a/htdocs/user/notify/card.php +++ b/htdocs/user/notify/card.php @@ -205,7 +205,7 @@ if ($result > 0) print_liste_field_titre(''); print "\n"; - $var=false; + // $listofemails=$object->thirdparty_and_contact_email_array(); if ($object->email) { @@ -277,7 +277,6 @@ if ($result > 0) // List of active notifications print_fiche_titre($langs->trans("ListOfActiveNotifications").' ('.$num.')','',''); - $var=true; // Line with titles print ''; @@ -299,7 +298,6 @@ if ($result > 0) while ($i < $num) { - $var = !$var; $obj = $db->fetch_object($resql); diff --git a/htdocs/user/param_ihm.php b/htdocs/user/param_ihm.php index b0473e15c49..75e55470a59 100644 --- a/htdocs/user/param_ihm.php +++ b/htdocs/user/param_ihm.php @@ -235,7 +235,6 @@ if ($action == 'edit') clearstatcache(); - $var=true; print '
'; print ''; @@ -301,8 +300,6 @@ else dol_banner_tab($object,'id',$linkback,$user->rights->user->user->lire || $user->admin); - $var=true; - print '
'.$langs->trans("Parameter").''.$langs->trans("DefaultValue").' '.$langs->trans("PersonalValue").'
'; print '';
'.$langs->trans("Parameter").''.$langs->trans("DefaultValue").' '.$langs->trans("PersonalValue").'