noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 01/12: Export GL PDF : no row found for an ac


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/12: Export GL PDF : no row found for an accounting
Date: Fri, 15 Jan 2021 09:40:03 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit f1c2929c2b2dc2230de26bad922fc9ec649d50f1
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Thu Dec 10 15:17:20 2020 +0100

    Export GL PDF : no row found for an accounting
---
 include/export/export_gl_pdf.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/export/export_gl_pdf.php b/include/export/export_gl_pdf.php
index 571c5cf..880a1c9 100644
--- a/include/export/export_gl_pdf.php
+++ b/include/export/export_gl_pdf.php
@@ -101,7 +101,7 @@ foreach ($a_poste as $poste)
 
   $array1=$Poste->get_row_date($from_periode,$to_periode,$l,$s);
   // don't print empty account
-  if ( count($array1[0]) == 0 )
+  if (empty($array1) || count($array1[0]) == 0 )
     {
         continue;
     }



reply via email to

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