From 3fd12eecf1eb1fef875faf5a5a146f20c2839e24 Mon Sep 17 00:00:00 2001 From: Alexandre SPANGARO Date: Sun, 3 Jan 2021 04:42:21 +0100 Subject: [PATCH] Repare link to create unknown account --- htdocs/accountancy/bookkeeping/balance.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/accountancy/bookkeeping/balance.php b/htdocs/accountancy/bookkeeping/balance.php index 5435d0bd64b..b049abb7652 100644 --- a/htdocs/accountancy/bookkeeping/balance.php +++ b/htdocs/accountancy/bookkeeping/balance.php @@ -322,8 +322,8 @@ if ($action != 'export_csv') $root_account_description = $tmparrayforrootaccount['label']; $root_account_number = $tmparrayforrootaccount['account_number']; - if (empty($accountingaccountstatic->label) && $accountingaccountstatic->id > 0) { - $link = ''.img_edit().''; + if (empty($tmparrayforrootaccount['label'])) { + $link = ''.img_edit_add().''; } if (!empty($show_subgroup))