fix del_pconfig

This commit is contained in:
Friendika 2011-02-08 02:45:55 -08:00
parent e06cd399b7
commit d280184b87

View File

@ -1283,7 +1283,7 @@ function del_pconfig($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",
intval($uid),
dbesc($cat),
dbesc($family),
dbesc($key)
);
return $ret;