X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fconfig.php;h=2cddda0b8d9a98f30f022793c6423378a57382ff;hb=b71a3af4570ccf349804b9ffa151fc1d35287d88;hp=92694f51932c3d9f2358b7b6778dc1af1a403d86;hpb=be2fd56aae51ee02b6e40dedd4383e1ebddc752e;p=friendica.git diff --git a/include/config.php b/include/config.php old mode 100644 new mode 100755 index 92694f5193..2cddda0b8d --- 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;