mirror of
https://github.com/friendica/friendica
synced 2024-11-17 20:23:40 +00:00
Fix polling of feeds
This commit is contained in:
parent
844eafa47a
commit
44f4876d58
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