[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 02/04: noalyss_sql.class fix bug in function
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 02/04: noalyss_sql.class fix bug in function set |
Date: |
Wed, 20 Dec 2017 04:42:34 -0500 (EST) |
sparkyx pushed a commit to tag rel6919.5
in repository noalyss.
commit fa72daa9efec01a5770b70072b20001eb64c52ba
Author: Dany De Bontridder <address@hidden>
Date: Mon Aug 28 19:00:11 2017 +0200
noalyss_sql.class fix bug in function set
---
include/database/class_noalyss_sql.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/database/class_noalyss_sql.php
b/include/database/class_noalyss_sql.php
index 35b5677..9dab28e 100644
--- a/include/database/class_noalyss_sql.php
+++ b/include/database/class_noalyss_sql.php
@@ -122,7 +122,7 @@ abstract class Noalyss_SQL
public function set($p_string, $p_value)
{
if (array_key_exists($p_string, $this->type)) {
- $this->$idx=$p_value;
+ $this->$p_string=$p_value;
} else
throw new Exception(__FILE__.":".__LINE__.$p_string.'Erreur
attribut inexistant '.$p_string);
}