mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-24 02:16:08 +03:00
[NovayaGazetaEuropeBridge]: fix warnings (#4154)
This commit is contained in:
parent
00d5242871
commit
376e711f03
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue