diff options
Diffstat (limited to 'update.c')
-rw-r--r-- | update.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1500,10 +1500,10 @@ int cUpdate::refreshEpg(const char* forChannelId, int maxTries) // get channel and schedule of channel - if (channel = channels->GetByChannelID(channelId, true)) + if (channelId && channel = channels->GetByChannelID(channelId, true)) s = (cSchedule*)schedules->GetSchedule(channel, true); else - tell(0, "Error: Channel with ID '%s' don't exist on this VDR", (const char*)channelId.ToString()); + tell(0, "Error: Channel with ID '%s' don't exist on this VDR", mapDb->getStrValue("ChannelId")); if (!schedules || !channels || !timers || !s) { |