mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-14 21:46:25 +02:00
[NovayaGazetaEuropeBridge]: fix warnings (#4154)
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user