noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 01/30: Bug : no filter on card for ledger PUR


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/30: Bug : no filter on card for ledger PURCHASE
Date: Sat, 3 Dec 2022 08:35:06 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit f9a4b987a229f2897b00e6f96f9b138bf1d9ada7
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Wed Nov 16 21:07:26 2022 +0100

    Bug : no filter on card for ledger PURCHASE
---
 include/ajax/ajax_card.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/ajax/ajax_card.php b/include/ajax/ajax_card.php
index 56c32ee28..62638775c 100644
--- a/include/ajax/ajax_card.php
+++ b/include/ajax/ajax_card.php
@@ -242,7 +242,7 @@ case 'st':
         case 'cred':
             $l=new Acc_Ledger($cn,$ledger);
             $prop=$l->get_propertie();
-            if ( empty($prop) || empty($prop['jrn_def_fiche_cred'])=='')
+            if ( empty($prop) || empty($prop['jrn_def_fiche_cred']))
             {
                 $where ="";
             }else {
@@ -286,7 +286,6 @@ case 'st':
              break;
     }
     $sql.=" ".$where." order by fd_label";
-
     $array=$cn->get_array($sql);
     
     $list_fiche="";



reply via email to

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