[pvr] fix: remove wrong condition in ActionPlayEpg()
authorxhaggi <sascha.woo@gmail.com>
Sat, 7 Dec 2013 13:37:07 +0000 (14:37 +0100)
committerxhaggi <sascha.woo@gmail.com>
Sat, 7 Dec 2013 13:37:07 +0000 (14:37 +0100)
xbmc/pvr/windows/GUIWindowPVRCommon.cpp

index c501ee8..248293c 100644 (file)
@@ -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));