mirror of
https://github.com/friendica/friendica
synced 2024-12-22 12:40:15 +00:00
commit
32f8b652ad
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ class OnePoll
|
|||
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()]);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue