From: Michael Vogel Date: Tue, 3 Nov 2015 00:10:07 +0000 (+0100) Subject: Improved reachable check X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ba560c191b15c8a7d551b7ae12423901ac998dbb;p=friendica-addons.git Improved reachable check --- diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index 46c055a6..74702414 100644 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -1715,8 +1715,7 @@ function pumpio_fetchallcomments(&$a, $uid, $id) { function pumpio_reachable($url) { $data = z_fetch_url($url, false, $redirects, array('timeout'=>10)); - - return($data['success']); + return(intval($data['return_code']) != 0); } /*