X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fsocgraph.php;h=f0a855d70c9d91412bca5c480af4a5a5b2055f18;hb=4584670af446553b6b7f7870e7081620ebaf44ee;hp=081290d8106448b82b69e928d5bfdf92655b8468;hpb=9a0bcc402a4e5a78aadc65a8782837aa0df8e864;p=friendica.git diff --git a/include/socgraph.php b/include/socgraph.php index 081290d810..f0a855d70c 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -1158,8 +1158,9 @@ function poco_check_server($server_url, $network = "", $force = false) { $network = NETWORK_OSTATUS; } } - if (strstr($orig_version, 'Pleroma')) { + if (strstr($orig_version.$version, 'Pleroma')) { $platform = 'Pleroma'; + $version = trim(str_replace('Pleroma', '', $version)); } }