From: Friendika Date: Tue, 8 Feb 2011 10:45:55 +0000 (-0800) Subject: fix del_pconfig X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d280184b875bb55e39b0e73fd64db036b254bc2c;p=friendica.git fix del_pconfig --- 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;