From 63625546cfe7877368b40de4997853d4f9d8bbb9 Mon Sep 17 00:00:00 2001 From: xhaggi Date: Sat, 7 Dec 2013 14:37:07 +0100 Subject: [PATCH] [pvr] fix: remove wrong condition in ActionPlayEpg() --- xbmc/pvr/windows/GUIWindowPVRCommon.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xbmc/pvr/windows/GUIWindowPVRCommon.cpp b/xbmc/pvr/windows/GUIWindowPVRCommon.cpp index c501ee8..248293c 100644 --- a/xbmc/pvr/windows/GUIWindowPVRCommon.cpp +++ b/xbmc/pvr/windows/GUIWindowPVRCommon.cpp @@ -532,8 +532,7 @@ bool CGUIWindowPVRCommon::ActionPlayEpg(CFileItem *item) return false; CPVRChannelPtr channel = epgTag->ChannelTag(); - if (!channel || channel->ChannelNumber() > 0 || - !g_PVRManager.CheckParentalLock(*channel)) + if (!channel || !g_PVRManager.CheckParentalLock(*channel)) return false; PlayBackRet ret = g_application.PlayFile(CFileItem(*channel)); -- 2.7.4