From be770eefdcbc702caf6289f566f07d2ab1c07217 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 25 Sep 2022 13:04:04 +0200 Subject: [PATCH] Update bookkeeping.class.php --- htdocs/accountancy/class/bookkeeping.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/accountancy/class/bookkeeping.class.php b/htdocs/accountancy/class/bookkeeping.class.php index a6894f6079f..551bf9bf1d2 100644 --- a/htdocs/accountancy/class/bookkeeping.class.php +++ b/htdocs/accountancy/class/bookkeeping.class.php @@ -891,11 +891,11 @@ class BookKeeping extends CommonObject } // Affichage par compte comptable if (!empty($option)) { - $sql .= ' AND t.subledger_account IS NOT NULL'; - $sql .= ' AND t.subledger_account != ""'; - $sql .= ' ORDER BY t.subledger_account ASC'; + $sql .= " AND t.subledger_account IS NOT NULL"; + $sql .= " AND t.subledger_account != ''"; + $sql .= " ORDER BY t.subledger_account ASC"; } else { - $sql .= ' ORDER BY t.numero_compte ASC'; + $sql .= " ORDER BY t.numero_compte ASC"; } if (!empty($sortfield)) {