noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 105/151: Noalyss_SQL Fix bug in set and get f


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 105/151: Noalyss_SQL Fix bug in set and get fct
Date: Sat, 4 Feb 2017 17:14:32 +0000 (UTC)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 4d9d1f3564b6a210e5c5d59dda40599ba22be16e
Author: Rachel <address@hidden>
Date:   Thu Jan 5 15:07:19 2017 +0100

    Noalyss_SQL Fix bug in set and get fct
    
    Signed-off-by: Dany De Bontridder <address@hidden>
---
 include/database/class_noalyss_sql.php |    2 --
 1 file changed, 2 deletions(-)

diff --git a/include/database/class_noalyss_sql.php 
b/include/database/class_noalyss_sql.php
index 21babcd..174a464 100644
--- a/include/database/class_noalyss_sql.php
+++ b/include/database/class_noalyss_sql.php
@@ -110,7 +110,6 @@ abstract class Noalyss_SQL
     public function get($p_string)
     {
         if (array_key_exists($p_string, $this->type)) {
-            $idx=$this->type[$p_string];
             return $this->$idx;
         }
         else
@@ -124,7 +123,6 @@ abstract class Noalyss_SQL
     public function set($p_string, $p_value)
     {
         if (array_key_exists($p_string, $this->type))    {
-            $idx=$this->type[$p_string];
             $this->$idx=$p_value;
         }        else
             throw new Exception(__FILE__.":".__LINE__.$p_string.'Erreur 
attribut inexistant '.$p_string);



reply via email to

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