mirror of
https://github.com/friendica/friendica
synced 2025-02-08 22:18:51 +00:00
Return early if body is empty in Network\Probe::updateFromFeed
- Address https://github.com/friendica/friendica/issues/10473#issuecomment-894815271
This commit is contained in:
parent
891c0ff130
commit
6f13663c45
1 changed files with 1 additions and 1 deletions
|
@ -2167,7 +2167,7 @@ class Probe
|
||||||
{
|
{
|
||||||
// Search for the newest entry in the feed
|
// Search for the newest entry in the feed
|
||||||
$curlResult = DI::httpRequest()->get($data['poll']);
|
$curlResult = DI::httpRequest()->get($data['poll']);
|
||||||
if (!$curlResult->isSuccess()) {
|
if (!$curlResult->isSuccess() || !$curlResult->getBody()) {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue