Skip to content

Commit

Permalink
PVRDatabase - add the return value of CommitInsertQueries() to bReturn
Browse files Browse the repository at this point in the history
  • Loading branch information
mikrohard committed Oct 30, 2012
1 parent 8af783b commit 09b406e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion xbmc/pvr/PVRDatabase.cpp
Expand Up @@ -763,7 +763,10 @@ bool CPVRDatabase::PersistChannels(CPVRChannelGroup &group)
bReturn &= Persist(*member.channel, m_sqlite || !member.channel->IsNew());
}
}
return CommitInsertQueries();

bReturn &= CommitInsertQueries();

return bReturn;
}

bool CPVRDatabase::PersistGroupMembers(CPVRChannelGroup &group)
Expand Down

0 comments on commit 09b406e

Please sign in to comment.