Permalink
Browse files

PVRDatabase - add the return value of CommitInsertQueries() to bReturn

  • Loading branch information...
mikrohard committed Oct 29, 2012
1 parent 8af783b commit 09b406ede4d5bba885c5238aef3c2dc04901f668
Showing with 4 additions and 1 deletion.
  1. +4 −1 xbmc/pvr/PVRDatabase.cpp
View
@@ -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)

0 comments on commit 09b406e

Please sign in to comment.