From 919728126a434c4101bef45a98d37410a63f51fa Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Wed, 20 Apr 2016 07:58:52 +0200 Subject: [PATCH] Bugfix: We checked in the wrong array ... --- include/gprobe.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.39.5