]> git.mxchange.org Git - friendica.git/commitdiff
Bugfix: We checked in the wrong array ...
authorMichael Vogel <icarus@dabo.de>
Wed, 20 Apr 2016 05:58:52 +0000 (07:58 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 1 May 2016 11:48:52 +0000 (13:48 +0200)
include/gprobe.php

index dfa9137d7de03d6677a20b29a7cdf699c51bb121..bd8503835b346eae7a4b04f337edfead95f65986 100644 (file)
@@ -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",