FIX: Replaced deprecated property

This commit is contained in:
Raphaël Doursenaud 2014-09-18 15:22:05 +02:00 committed by Raphaël Doursenaud
parent a7964c4a9a
commit e87b1d68b6
2 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ if ($result) {
else if ($links[$key]['type'] == 'company')
{
$societestatic->id = $links[$key]['url_id'];
$societestatic->nom = $links[$key]['label'];
$societestatic->name = $links[$key]['label'];
$tabpay[$obj->rowid]["soclib"] = $societestatic->getNomUrl(1, '', 30);
$tabtp[$obj->rowid][$compta_soc] += $obj->amount;
}

View File

@ -173,7 +173,7 @@ if ($result) {
} else if ($links[$key]['type'] == 'company') {
$societestatic->id = $links[$key]['url_id'];
$societestatic->nom = $links[$key]['label'];
$societestatic->name = $links[$key]['label'];
$tabpay[$obj->rowid]["soclib"] = $societestatic->getNomUrl(1, '', 30);
$tabtp[$obj->rowid][$compta_soc] += $obj->amount;
} else if ($links[$key]['type'] == 'sc') {