mirror of
https://github.com/friendica/friendica
synced 2024-12-31 22:42:21 +00:00
commit
32f8b652ad
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ class OnePoll
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strpos($curlResult->getContentType(), 'xml') !== false) {
|
if (strpos($curlResult->getContentType(), 'xml') === false) {
|
||||||
Logger::notice('Unexpected content type.', ['id' => $contact['id'], 'url' => $contact['poll'], 'content-type' => $curlResult->getContentType()]);
|
Logger::notice('Unexpected content type.', ['id' => $contact['id'], 'url' => $contact['poll'], 'content-type' => $curlResult->getContentType()]);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue