diff --git a/htdocs/adherents/admin/mailman.php b/htdocs/adherents/admin/mailman.php index a2bb43a906a..624018b05c9 100644 --- a/htdocs/adherents/admin/mailman.php +++ b/htdocs/adherents/admin/mailman.php @@ -178,7 +178,7 @@ if ($conf->global->ADHERENT_USE_MAILMAN) 'ADHERENT_MAILMAN_LISTS' ); - print_fiche_titre("Mailman mailing list system",$lien,''); + print_fiche_titre($langs->trans('MailmanTitle'), $lien,''); // JQuery activity print ''; diff --git a/htdocs/user/perms.php b/htdocs/user/perms.php index 6981af8bba1..1c304ded7a9 100644 --- a/htdocs/user/perms.php +++ b/htdocs/user/perms.php @@ -317,7 +317,7 @@ if ($result) print ''; // Permission and tick - if ($fuser->admin && $objMod->rights_admin_allowed) // Permission own because admin + if (! empty($fuser->admin) && ! empty($objMod->rights_admin_allowed)) // Permission own because admin { if ($caneditperms) {