The curl result is an object, not an array
This commit is contained in:
parent
92214b8867
commit
c06f7ad11e
3 changed files with 4 additions and 4 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue