Update commonobject.class.php

This commit is contained in:
Anthony Berton 2021-02-11 17:46:28 +01:00
parent 55f8d64202
commit d10e46adca

View File

@ -646,7 +646,7 @@ abstract class CommonObject
$this->name_alias = dol_strtoupper($this->name_alias);
}
if (!empty($conf->global->MAIN_ALL_TOWN_TO_UPPER)) {
$this->address = dol_strtoupper($this->town);
$this->address = dol_strtoupper($this->address);
$this->town = dol_strtoupper($this->town);
}
}