diff options
author | zotlabs <mike@macgirvin.com> | 2018-03-31 13:22:12 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-03-31 13:22:12 -0700 |
commit | 4493304fa79aded582b65498aacf6db48a788bdc (patch) | |
tree | 9c3c1b504510eb45b87f7ae2cd73049f5096c3d7 /include | |
parent | 54e941724f9b081b4bccf2a49e6367afd9dd88ec (diff) | |
download | volse-hubzilla-4493304fa79aded582b65498aacf6db48a788bdc.tar.gz volse-hubzilla-4493304fa79aded582b65498aacf6db48a788bdc.tar.bz2 volse-hubzilla-4493304fa79aded582b65498aacf6db48a788bdc.zip |
wrong function
Diffstat (limited to 'include')
-rw-r--r-- | include/network.php | 2 |
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); } } |