aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-03-31 13:22:12 -0700
committerMario Vavti <mario@mariovavti.com>2018-04-05 09:36:16 +0200
commit0877e5b57810106ab9f845d41b5daf258f5ad330 (patch)
tree4ccf7a58e66f70f2b3c517d42f5e652a6c713b6b
parent46114bb24dd14dc07ae69845a2d137832a6f8521 (diff)
downloadvolse-hubzilla-0877e5b57810106ab9f845d41b5daf258f5ad330.tar.gz
volse-hubzilla-0877e5b57810106ab9f845d41b5daf258f5ad330.tar.bz2
volse-hubzilla-0877e5b57810106ab9f845d41b5daf258f5ad330.zip
wrong function
-rw-r--r--include/network.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/network.php b/include/network.php
index f8cb68613..a49e5920d 100644
--- a/include/network.php
+++ b/include/network.php
@@ -1873,7 +1873,7 @@ function probe_api_path($host) {
foreach($paths as $path) {
$curpath = $scheme . '://' . $host . $path;
$x = z_fetch_url($curpath);
- if($x['success'] && ! strlen($x['body'], 'not implemented'))
+ if($x['success'] && ! strpos($x['body'], 'not implemented'))
return str_replace('version', '', $curpath);
}
}