Wrong variable name
This commit is contained in:
parent
fb8675f349
commit
aa92901b11
|
@ -162,7 +162,7 @@ function del_config($family,$key) {
|
||||||
if(x($a->config[$family],$key))
|
if(x($a->config[$family],$key))
|
||||||
unset($a->config[$family][$key]);
|
unset($a->config[$family][$key]);
|
||||||
$ret = q("DELETE FROM `config` WHERE `cat` = '%s' AND `k` = '%s' LIMIT 1",
|
$ret = q("DELETE FROM `config` WHERE `cat` = '%s' AND `k` = '%s' LIMIT 1",
|
||||||
dbesc($cat),
|
dbesc($family),
|
||||||
dbesc($key)
|
dbesc($key)
|
||||||
);
|
);
|
||||||
return $ret;
|
return $ret;
|
||||||
|
|
Loading…
Reference in a new issue