summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-09-22 00:38:56 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-09-22 00:38:56 -0400
commit1b8489fdd7af9b397576773f4b657ab99ebc278d (patch)
tree6782d7f0468b0a196792f0e0dd9e0ede437abb49 /src
parent117f3f8ce490da87dc08e26b00909ed8f3d4cb51 (diff)
Fix a terrible, terrible bug in Database.class.php, I was calling getSysConf() without this "$this->" in front of it.
Diffstat (limited to 'src')
-rw-r--r--src/lib/Database.class.php2
1 files changed, 1 insertions, 1 deletions
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);