From 27facab545cbfae81d064eefec42e82a976bd960 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Thu, 20 Dec 2018 14:18:22 +0100 Subject: [PATCH] fix typo and translation --- htdocs/adherents/card.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/adherents/card.php b/htdocs/adherents/card.php index 732504ed923..accdedc0141 100644 --- a/htdocs/adherents/card.php +++ b/htdocs/adherents/card.php @@ -94,7 +94,7 @@ if ($id > 0) // Define variables to know what current user can do on properties of user linked to edited member if ($object->user_id) { - // $ User is the user who edits, $ object->user_id is the id of the related user in the edited member + // $User is the user who edits, $object->user_id is the id of the related user in the edited member $caneditfielduser=((($user->id == $object->user_id) && $user->rights->user->self->creer) || (($user->id != $object->user_id) && $user->rights->user->user->creer)); $caneditpassworduser=((($user->id == $object->user_id) && $user->rights->user->self->password) @@ -268,7 +268,7 @@ if (empty($reshook)) $langs->load("errors"); setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentities("Company")), null, 'errors'); } - // Test si le login existe deja + // Check if the login already exists if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { if (empty($login)) {