1
0
Fork 0

The curl result is an object, not an array

This commit is contained in:
Michael 2018-12-22 17:00:28 +00:00
commit c06f7ad11e
3 changed files with 4 additions and 4 deletions

View file

@ -77,8 +77,8 @@ function ostatus_subscribe_content(App $a)
$o .= '<p>' . $counter . '/' . $total . ': ' . $url;
$curlResult = Probe::uri($url);
if ($curlResult['network'] == Protocol::OSTATUS) {
$probed = Probe::uri($url);
if ($probed['network'] == Protocol::OSTATUS) {
$result = Contact::createFromProbe($uid, $url, true, Protocol::OSTATUS);
if ($result['success']) {
$o .= ' - ' . L10n::t('success');