From: Michael Vogel Date: Wed, 20 Apr 2016 05:58:52 +0000 (+0200) Subject: Bugfix: We checked in the wrong array ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=74883adfd186967cdd41037d76dd2684de273cb8;p=friendica.git Bugfix: We checked in the wrong array ... --- diff --git a/include/gprobe.php b/include/gprobe.php index dfa9137d7d..bd8503835b 100644 --- a/include/gprobe.php +++ b/include/gprobe.php @@ -58,7 +58,7 @@ function gprobe_run(&$argv, &$argc){ if (is_null($result)) Cache::set("gprobe:".$urlparts["host"],serialize($arr)); - if (!in_array($result["network"], array(NETWORK_FEED, NETWORK_PHANTOM))) + if (!in_array($arr["network"], array(NETWORK_FEED, NETWORK_PHANTOM))) update_gcontact($arr); $r = q("SELECT `id`, `url`, `network` FROM `gcontact` WHERE `nurl` = '%s' ORDER BY `id` LIMIT 1",