aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-08 02:45:55 -0800
committerFriendika <info@friendika.com>2011-02-08 02:45:55 -0800
commitd280184b875bb55e39b0e73fd64db036b254bc2c (patch)
tree72a03d867484e5209a71170ab1bf5e9c359d85b8
parente06cd399b7d90d0083ef70d0db8d284d22aa3f19 (diff)
downloadvolse-hubzilla-d280184b875bb55e39b0e73fd64db036b254bc2c.tar.gz
volse-hubzilla-d280184b875bb55e39b0e73fd64db036b254bc2c.tar.bz2
volse-hubzilla-d280184b875bb55e39b0e73fd64db036b254bc2c.zip
fix del_pconfig
-rw-r--r--boot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 3714f588b..7fbd2a6fb 100644
--- a/boot.php
+++ b/boot.php
@@ -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;