]> git.mxchange.org Git - friendica.git/commitdiff
Wrong variable name
authorroot <root@hoessl.eu>
Sun, 26 Feb 2012 14:29:17 +0000 (14:29 +0000)
committerroot <root@hoessl.eu>
Sun, 26 Feb 2012 14:29:17 +0000 (14:29 +0000)
include/config.php

index 92694f51932c3d9f2358b7b6778dc1af1a403d86..2cddda0b8d9a98f30f022793c6423378a57382ff 100755 (executable)
@@ -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;