From: Michael Date: Thu, 17 Jan 2019 05:32:06 +0000 (+0000) Subject: The "]" had been at the wrong place X-Git-Tag: 2019.01~14^2~1 X-Git-Url: https://reisub.nsupdate.info/git/?p=friendica.git%2F.git;a=commitdiff_plain;h=98d44ce7c7b19fdd399ee055f1934928d03f17a5 The "]" had been at the wrong place --- diff --git a/src/Worker/OnePoll.php b/src/Worker/OnePoll.php index 86da2791c2..4cfcf1037e 100644 --- a/src/Worker/OnePoll.php +++ b/src/Worker/OnePoll.php @@ -106,7 +106,7 @@ class OnePoll if (in_array($contact['network'], [Protocol::ACTIVITYPUB, Protocol::OSTATUS, Protocol::DIASPORA, Protocol::DFRN])) { $updated = DateTimeFormat::utcNow(); // Currently we can't check every AP implementation, so we don't do it at all - if (($contact['network' != Protocol::ACTIVITYPUB]) && !PortableContact::reachable($contact['url'])) { + if (($contact['network'] != Protocol::ACTIVITYPUB) && !PortableContact::reachable($contact['url'])) { Logger::log("Skipping probably dead contact ".$contact['url']); // set the last-update so we don't keep polling