1
0
Fork 0

Bugfix: We checked in the wrong array ...

This commit is contained in:
Michael Vogel 2016-04-20 07:58:52 +02:00 committed by Roland Haeder
parent 8fb9f3fee5
commit 74883adfd1
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View 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",