mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-08 14:21:29 +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) {
|
if (ok != nullptr) {
|
||||||
*ok = false;
|
*ok = false;
|
||||||
|
updated_messages = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user