From 23c853ab9fe1c1b7854b873f03d44d9b0c6f59dc Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Fri, 12 Nov 2021 15:22:48 +0300 Subject: [PATCH] Update programetv.ro.config.js --- sites/programetv.ro/programetv.ro.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/programetv.ro/programetv.ro.config.js b/sites/programetv.ro/programetv.ro.config.js index 49d10c67..9c6a57c5 100644 --- a/sites/programetv.ro/programetv.ro.config.js +++ b/sites/programetv.ro/programetv.ro.config.js @@ -22,7 +22,7 @@ module.exports = { logo({ content }) { const data = parseContent(content) - return data ? data.station.icon : null + return data && data.station ? data.station.icon : null }, parser: function ({ content }) { let programs = []