Bugfix: We checked in the wrong array ...
This commit is contained in:
parent
c6fb6c559a
commit
919728126a
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ function gprobe_run(&$argv, &$argc){
|
||||||
if (is_null($result))
|
if (is_null($result))
|
||||||
Cache::set("gprobe:".$urlparts["host"],serialize($arr));
|
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);
|
update_gcontact($arr);
|
||||||
|
|
||||||
$r = q("SELECT `id`, `url`, `network` FROM `gcontact` WHERE `nurl` = '%s' ORDER BY `id` LIMIT 1",
|
$r = q("SELECT `id`, `url`, `network` FROM `gcontact` WHERE `nurl` = '%s' ORDER BY `id` LIMIT 1",
|
||||||
|
|
Loading…
Reference in a new issue