english standardization

This commit is contained in:
Grand Philippe 2013-02-23 11:54:46 +01:00
parent 869a014d32
commit 15f8b588d6
2 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,7 @@ alter table llx_don CHANGE COLUMN ville town text;
alter table llx_adherent CHANGE COLUMN adresse address text;
alter table llx_adherent CHANGE COLUMN nom lastname text;
alter table llx_adherent CHANGE COLUMN ville town text;
alter table llx_user CHANGE COLUMN name lastname text;
alter table llx_entrepot CHANGE COLUMN ville town text;
alter table llx_societe CHANGE COLUMN ville town text;
alter table llx_socpeople CHANGE COLUMN ville town text;

View File

@ -1120,7 +1120,7 @@ class User extends CommonObject
// Mise a jour autres infos
$sql = "UPDATE ".MAIN_DB_PREFIX."user SET";
$sql.= " name = '".$this->db->escape($this->lastname)."'";
$sql.= " lastname = '".$this->db->escape($this->lastname)."'";
$sql.= ", firstname = '".$this->db->escape($this->firstname)."'";
$sql.= ", login = '".$this->db->escape($this->login)."'";
$sql.= ", admin = ".$this->admin;