From dc4c013d10e6165e3e8d36ad1e7287eafedef5f1 Mon Sep 17 00:00:00 2001 From: Grand Philippe Date: Thu, 21 Feb 2013 09:44:49 +0100 Subject: [PATCH] fix : english normalization --- htdocs/adherents/fiche.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php index d1c8beb6426..b0bb18511e9 100644 --- a/htdocs/adherents/fiche.php +++ b/htdocs/adherents/fiche.php @@ -4,7 +4,7 @@ * Copyright (C) 2004-2012 Laurent Destailleur * Copyright (C) 2005-2012 Regis Houssin * Copyright (C) 2012 Marcos GarcĂ­a - * Copyright (C) 2012 Philippe Grand + * Copyright (C) 2012-2013 Philippe Grand * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -98,9 +98,9 @@ if ($rowid > 0) } } -// Define variables to know what current user can do on members +// Define variables to determine what the current user can do on the members $canaddmember=$user->rights->adherent->creer; -// Define variables to know what current user can do on properties of a member +// Define variables to determine what the current user can do on the properties of a member if ($rowid) { $caneditfieldmember=$user->rights->adherent->creer; @@ -259,7 +259,6 @@ if ($action == 'update' && ! $_POST["cancel"] && $user->rights->adherent->creer) $object->pass = trim($_POST["pass"]); $object->societe = trim($_POST["societe"]); - //$object->adresse = trim($_POST["address"]); // deprecated $object->address = trim($_POST["address"]); $object->cp = trim($_POST["zipcode"]); // deprecated $object->zip = trim($_POST["zipcode"]); @@ -440,7 +439,6 @@ if ($action == 'add' && $user->rights->adherent->creer) $object->firstname = $prenom; $object->lastname = $nom; $object->societe = $societe; - //$object->adresse = $address; // deprecated $object->address = $address; $object->cp = $zip; // deprecated $object->zip = $zip;