mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02: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…
Add table
Add a link
Reference in a new issue