From 2e81d0a2b3cd2b76495472c8ee2ef04524c2447a Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 5 Nov 2015 10:55:00 +0100 Subject: [PATCH] Fetch the "addr" value whenever it is empty --- include/socgraph.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/socgraph.php b/include/socgraph.php index 5c8da3cc2..c5aa08d08 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -235,7 +235,7 @@ function poco_check($profile_url, $name, $network, $profile_photo, $about, $loca $addr = ""; } - if ((($network == "") OR ($name == "") OR ($profile_photo == "") OR ($server_url == "") OR $alternate) + if ((($network == "") OR ($name == "") OR ($addr == "") OR ($profile_photo == "") OR ($server_url == "") OR $alternate) AND poco_reachable($profile_url, $server_url, $network, false)) { $data = probe_url($profile_url);