add parameters to getnomurl function to enable and disable alias
This commit is contained in:
parent
6dd0f7850f
commit
9c64b7baca
@ -1945,7 +1945,7 @@ if ($resql) {
|
|||||||
$companystatic->town = $obj->town;
|
$companystatic->town = $obj->town;
|
||||||
$companystatic->country_code = $obj->country_code;
|
$companystatic->country_code = $obj->country_code;
|
||||||
if (!isset($getNomUrl_cache[$obj->socid])) {
|
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;
|
$generic_commande->id = $obj->rowid;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user