Permalink
Browse files

pvr: pass the real group to DeleteGroup(). issue #376

  • Loading branch information...
1 parent 5d1a107 commit 84817e67d488d7ac3b806cfbd4d160154efda9d0 Lars Op den Kamp committed Dec 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/pvr/channels/PVRChannelGroups.cpp
@@ -224,7 +224,7 @@ bool CPVRChannelGroups::UpdateGroupsEntries(const CPVRChannelGroups &groups)
{
CLog::Log(LOGDEBUG, "PVRChannelGroups - %s - user defined group %s with ID '%u' does not exist on the client anymore. deleting",
__FUNCTION__, existingGroup.GroupName().c_str(), existingGroup.GroupID());
- DeleteGroup(existingGroup);
+ DeleteGroup(*at(iGroupPtr));
}
}
}

0 comments on commit 84817e6

Please sign in to comment.