noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 03/27: Database::make_array ajoute un paramè


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 03/27: Database::make_array ajoute un paramètre dans le cas où le SQL admet une condition
Date: Thu, 02 Oct 2014 14:23:07 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 4fcf4216b27248228c7143fa730f328d420d474f
Author: Dany De Bontridder <address@hidden>
Date:   Sat Sep 13 16:57:58 2014 +0200

    Database::make_array ajoute un paramètre dans le cas où le
    SQL admet une condition
---
 include/class_anc_account.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/class_anc_account.php b/include/class_anc_account.php
index fc9c081..9da0f8c 100644
--- a/include/class_anc_account.php
+++ b/include/class_anc_account.php
@@ -128,7 +128,7 @@ class Anc_Account
     {
         $a=$cn->make_array("select  po_name,po_name from poste_analytique ".
                            " where ".
-                           " pa_id =".$pa_id." order by po_name ");
+                           " pa_id = $1 order by po_name ",0,array($pa_id));
         return $a;
     }
     function update()



reply via email to

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