From aa92901b11a70c495904d902bfdb4f4e21af8b47 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 26 Feb 2012 14:29:17 +0000 Subject: Wrong variable name --- include/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/config.php b/include/config.php index 92694f519..2cddda0b8 100755 --- a/include/config.php +++ b/include/config.php @@ -162,7 +162,7 @@ function del_config($family,$key) { if(x($a->config[$family],$key)) unset($a->config[$family][$key]); $ret = q("DELETE FROM `config` WHERE `cat` = '%s' AND `k` = '%s' LIMIT 1", - dbesc($cat), + dbesc($family), dbesc($key) ); return $ret; -- cgit v1.2.3