Fetch right account

This commit is contained in:
Frédéric FRANCE 2017-11-07 16:28:51 +01:00 committed by GitHub
parent 6eb2204c2b
commit 27ace14fb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -656,7 +656,7 @@ else
print '<td>';
if (! empty($conf->accounting->enabled)) {
$accountingaccount = new AccountingAccount($db);
$accountingaccount->fetch('',$object->account_number);
$accountingaccount->fetch('',$object->account_number, 1);
print $accountingaccount->getNomUrl(0,1,1,'',1);
} else {