noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 01/01: Bug : export CSV échoue si on utilise


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/01: Bug : export CSV échoue si on utilise les postes
Date: Sun, 27 Jul 2014 19:10:30 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit c02e05751544521cc50116da5c9beed46526f369
Author: Dany De Bontridder <address@hidden>
Date:   Sun Jul 27 21:06:17 2014 +0200

    Bug : export CSV échoue si on utilise les postes
---
 include/export_gl_csv.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/export_gl_csv.php b/include/export_gl_csv.php
index 7c91e99..ff3392f 100644
--- a/include/export_gl_csv.php
+++ b/include/export_gl_csv.php
@@ -63,18 +63,18 @@ else
     if ($from_poste != '')
       {
        $cond_poste = '  where ';
-       $cond_poste .=' pcm_val >= upper 
(\''.Database::escape_string($from_poste).'\')';
+       $cond_poste .=" pcm_val >= upper 
('".Database::escape_string($from_poste)."')";
       }
 
     if ( $to_poste != '')
       {
        if  ( $cond_poste == '')
          {
-           $cond_poste =  " where pcm_val <= upper 
(''".Database::escape_string($to_poste)."'')";
+           $cond_poste =  " where pcm_val <= upper 
('".Database::escape_string($to_poste)."')";
          }
        else
          {
-           $cond_poste.=" and pcm_val <= upper 
(''".Database::escape_string($to_poste)."'')";
+           $cond_poste.=" and pcm_val <= upper 
('".Database::escape_string($to_poste)."')";
          }
       }
 



reply via email to

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