mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-03 16:19:45 +00:00
[NovayaGazetaEuropeBridge]: fix warnings (#4154)
This commit is contained in:
parent
00d5242871
commit
376e711f03
@ -41,6 +41,9 @@ class NovayaGazetaEuropeBridge extends BridgeAbstract
|
||||
$data = json_decode($json);
|
||||
|
||||
foreach ($data->records as $record) {
|
||||
if (!isset($record->blocks)) {
|
||||
continue;
|
||||
}
|
||||
foreach ($record->blocks as $block) {
|
||||
if (!property_exists($block, 'date')) {
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user