noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 05/19: Bug : warning for ledger C0JRN when no


From: dwm
Subject: [Noalyss-commit] [noalyss] 05/19: Bug : warning for ledger C0JRN when no category card is checked
Date: Wed, 25 Sep 2024 06:45:02 -0400 (EDT)

sparkyx pushed a commit to branch unstable
in repository noalyss.

commit 26b2b32a331f858b19f412e02fedbc91e85f78c3
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Sep 21 18:23:18 2024 +0200

    Bug : warning for ledger C0JRN when no category card is checked
---
 include/template/param_jrn.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/template/param_jrn.php b/include/template/param_jrn.php
index d93576dd0..d960286dc 100644
--- a/include/template/param_jrn.php
+++ b/include/template/param_jrn.php
@@ -359,7 +359,7 @@ endif;
     for ($i=0;$i<$num;$i++) {
       $res=$cn->fetch($i);
       $CHECKED=" unchecked";
-      foreach ( $rdeb as $element) {
+     if (!empty($reb)) foreach ( $rdeb as $element) {
         if ( $element == $res['fd_id'] ) {
           $CHECKED="CHECKED";
           break;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]