From 1b8489fdd7af9b397576773f4b657ab99ebc278d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 22 Sep 2011 00:38:56 -0400 Subject: Fix a terrible, terrible bug in Database.class.php, I was calling getSysConf() without this "$this->" in front of it. --- src/lib/Database.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Database.class.php b/src/lib/Database.class.php index a7c8b4b..ab56d09 100644 --- a/src/lib/Database.class.php +++ b/src/lib/Database.class.php @@ -348,7 +348,7 @@ class Database { } } public function setSysConf($key, $value) { - $isset = (getSysConf($key) !== false); + $isset = ($this->getSysConf($key) !== false); $t = $this->mysql_table('conf'); $k = $this->mysql_escape($key); $v = $this->mysql_escape($value); -- cgit v1.2.3