From: root <root@hoessl.eu>
Date: Sun, 26 Feb 2012 14:29:17 +0000 (+0000)
Subject: Wrong variable name
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aa92901b11a70c495904d902bfdb4f4e21af8b47;p=friendica.git

Wrong variable name
---

diff --git a/include/config.php b/include/config.php
index 92694f5193..2cddda0b8d 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;