aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@hoessl.eu>2012-02-26 14:29:17 +0000
committerroot <root@hoessl.eu>2012-02-26 14:29:17 +0000
commitaa92901b11a70c495904d902bfdb4f4e21af8b47 (patch)
treea63daea158bf1c83a7255878c770b3e55ad5fbca
parentfb8675f3494b0f5e0b98d422f0cb3f6e8f410c4a (diff)
downloadvolse-hubzilla-aa92901b11a70c495904d902bfdb4f4e21af8b47.tar.gz
volse-hubzilla-aa92901b11a70c495904d902bfdb4f4e21af8b47.tar.bz2
volse-hubzilla-aa92901b11a70c495904d902bfdb4f4e21af8b47.zip
Wrong variable name
-rwxr-xr-xinclude/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/config.php b/include/config.php
index 92694f519..2cddda0b8 100755
--- a/include/config.php
+++ b/include/config.php
@@ -162,7 +162,7 @@ function del_config($family,$key) {
if(x($a->config[$family],$key))
unset($a->config[$family][$key]);
$ret = q("DELETE FROM `config` WHERE `cat` = '%s' AND `k` = '%s' LIMIT 1",
- dbesc($cat),
+ dbesc($family),
dbesc($key)
);
return $ret;