Merge pull request #7781 from frederic34/patch-1

Fetch right account
This commit is contained in:
Laurent Destailleur 2017-11-11 17:33:26 +01:00 committed by GitHub
commit 0d38e154cf
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 {