fix del_pconfig
This commit is contained in:
parent
e06cd399b7
commit
d280184b87
2
boot.php
2
boot.php
|
@ -1283,7 +1283,7 @@ function del_pconfig($uid,$family,$key) {
|
||||||
unset($a->config[$uid][$family][$key]);
|
unset($a->config[$uid][$family][$key]);
|
||||||
$ret = q("DELETE FROM `pconfig` WHERE `uid` = %d AND `cat` = '%s' AND `k` = '%s' LIMIT 1",
|
$ret = q("DELETE FROM `pconfig` WHERE `uid` = %d AND `cat` = '%s' AND `k` = '%s' LIMIT 1",
|
||||||
intval($uid),
|
intval($uid),
|
||||||
dbesc($cat),
|
dbesc($family),
|
||||||
dbesc($key)
|
dbesc($key)
|
||||||
);
|
);
|
||||||
return $ret;
|
return $ret;
|
||||||
|
|
Loading…
Reference in a new issue