[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;
}
- [Noalyss-commit] [noalyss] branch master updated (a723604 -> 9e40622), Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 02/12: SQL : improve vw_fiche_attr with index, Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 03/12: Task #0001869: Session key : clef de session, Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 01/12: Export GL PDF : no row found for an accounting,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 04/12: Bug : if all the quantity are NULL, then we have only one row in jrn, Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 05/12: Generate document : DESCRIPTION for invoice (e_comm), Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 08/12: code cleaning and replace $_SERVER['SCRIPT_FILENAME'] by $_SERVER['PHP_SELF'] SCRIPT_FILENAME in a FPM environment is the CGI script, Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 09/12: Card : attribute 54 is now a column for each card, Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 10/12: javascript message , use function htmlspecialchar instead of escape_xml, Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 06/12: Bug : DESCRIPTION tag, Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 12/12: Tache #1844 Menu : ouverture menu par défaut, Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 11/12: Correct bug #0001882: predefined operation ODS not visible, Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 07/12: Card : attribute 54 is now a column for each card, Dany De Bontridder, 2021/01/15