mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-07 13:42:02 +01:00
Fix incorrect number of updated messages when DB update fails. - #70
This commit is contained in:
parent
d977927726
commit
fb8ae19af0
@ -628,6 +628,7 @@ int DatabaseQueries::updateMessages(QSqlDatabase db,
|
||||
|
||||
if (ok != nullptr) {
|
||||
*ok = false;
|
||||
updated_messages = 0;
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user