From: rabuzarus <> Date: Sun, 4 Dec 2016 14:15:23 +0000 (+0100) Subject: Bugfix: cached data doesn't need to get unserialized anymore X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3d4e1176ec9b18e9e7547b91d36554f2375ddb8e;p=friendica.git Bugfix: cached data doesn't need to get unserialized anymore --- diff --git a/include/identity.php b/include/identity.php index 288f93aaf9..a792c47144 100644 --- a/include/identity.php +++ b/include/identity.php @@ -813,7 +813,6 @@ function zrl_init(&$a) { $result = Cache::get("gprobe:".$urlparts["host"]); if (!is_null($result)) { - $result = unserialize($result); if (in_array($result["network"], array(NETWORK_FEED, NETWORK_PHANTOM))) { logger("DDoS attempt detected for ".$urlparts["host"]." by ".$_SERVER["REMOTE_ADDR"].". server data: ".print_r($_SERVER, true), LOGGER_DEBUG); return;