Update commonobject.class.php
This commit is contained in:
parent
ee6bc80242
commit
55f8d64202
@ -638,12 +638,15 @@ abstract class CommonObject
|
|||||||
$this->lastname = dol_ucwords(dol_strtolower($this->lastname));
|
$this->lastname = dol_ucwords(dol_strtolower($this->lastname));
|
||||||
$this->firstname = dol_ucwords(dol_strtolower($this->firstname));
|
$this->firstname = dol_ucwords(dol_strtolower($this->firstname));
|
||||||
$this->name = dol_ucwords(dol_strtolower($this->name));
|
$this->name = dol_ucwords(dol_strtolower($this->name));
|
||||||
|
$this->name_alias = dol_ucwords(dol_strtolower($this->name_alias));
|
||||||
}
|
}
|
||||||
if (!empty($conf->global->MAIN_ALL_TO_UPPER)) {
|
if (!empty($conf->global->MAIN_ALL_TO_UPPER)) {
|
||||||
$this->lastname = dol_strtoupper($this->lastname);
|
$this->lastname = dol_strtoupper($this->lastname);
|
||||||
$this->name = dol_strtoupper($this->name);
|
$this->name = dol_strtoupper($this->name);
|
||||||
|
$this->name_alias = dol_strtoupper($this->name_alias);
|
||||||
}
|
}
|
||||||
if (!empty($conf->global->MAIN_ALL_TOWN_TO_UPPER)) {
|
if (!empty($conf->global->MAIN_ALL_TOWN_TO_UPPER)) {
|
||||||
|
$this->address = dol_strtoupper($this->town);
|
||||||
$this->town = dol_strtoupper($this->town);
|
$this->town = dol_strtoupper($this->town);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user