From 1d5089e95e2af58ef8c93832dba98a8e263f0846 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 d23d826bf42..7ac795b784b 100644 --- a/htdocs/accountancy/bookkeeping/balance.php +++ b/htdocs/accountancy/bookkeeping/balance.php @@ -321,8 +321,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))