Update card.php

This commit is contained in:
Laurent Destailleur 2019-03-31 18:49:38 +02:00 committed by GitHub
parent 5588fe5b81
commit 143cbba09b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -637,7 +637,7 @@ else
print '<tr><td>'.$langs->trans("AccountancyJournal").'</td>';
print '<td>';
if (! empty($object->fk_accountancy_journal)) {
if ($object->fk_accountancy_journal > 0) {
$accountingjournal = new AccountingJournal($db);
$accountingjournal->fetch($object->fk_accountancy_journal);