Browse Source

Fetch right account

Frédéric FRANCE 7 years ago
parent
commit
27ace14fb7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/compta/bank/card.php

+ 1 - 1
htdocs/compta/bank/card.php

@@ -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 {