From d280184b875bb55e39b0e73fd64db036b254bc2c Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 8 Feb 2011 02:45:55 -0800 Subject: [PATCH] fix del_pconfig --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot.php b/boot.php index 3714f588b4..7fbd2a6fbd 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;