add parameters to getnomurl function to enable and disable alias

This commit is contained in:
atm-steve 2022-11-29 10:01:07 +01:00
parent 6dd0f7850f
commit 9c64b7baca

View File

@ -1945,7 +1945,7 @@ if ($resql) {
$companystatic->town = $obj->town;
$companystatic->country_code = $obj->country_code;
if (!isset($getNomUrl_cache[$obj->socid])) {
$getNomUrl_cache[$obj->socid] = $companystatic->getNomUrl(1, 'customer');
$getNomUrl_cache[$obj->socid] = $companystatic->getNomUrl(1, 'customer', 100, 0, 1, empty($arrayfields['s.name_alias']['checked']) ? 0 : 1);
}
$generic_commande->id = $obj->rowid;