Return early if body is empty in Network\Probe::updateFromFeed

- Address https://github.com/friendica/friendica/issues/10473#issuecomment-894815271
pull/10612/head
Hypolite Petovan 2021-08-17 09:35:44 -04:00
rodzic 891c0ff130
commit 6f13663c45
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -2167,7 +2167,7 @@ class Probe
{
// Search for the newest entry in the feed
$curlResult = DI::httpRequest()->get($data['poll']);
if (!$curlResult->isSuccess()) {
if (!$curlResult->isSuccess() || !$curlResult->getBody()) {
return '';
}