Skip to content
Snippets Groups Projects
Commit 4998eb30 authored by Alexandre SPANGARO's avatar Alexandre SPANGARO
Browse files

Fix: Accountancy journal, fetch on rowid, not code

parent 7218a9de
No related branches found
No related tags found
No related merge requests found
......@@ -514,7 +514,7 @@ foreach ($accounts as $key=>$type)
if (! empty($conf->accounting->enabled))
{
$accountingjournal = new AccountingJournal($db);
$accountingjournal->fetch('',$acc->fk_accountancy_journal);
$accountingjournal->fetch($acc->fk_accountancy_journal);
print $accountingjournal->getNomUrl(0,1,1,'',1);
}
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment