Fix incorrect number of updated messages when DB update fails. - #70

This commit is contained in:
Martin Rotter 2016-11-08 19:55:10 +01:00
parent d977927726
commit fb8ae19af0

View File

@ -628,6 +628,7 @@ int DatabaseQueries::updateMessages(QSqlDatabase db,
if (ok != nullptr) { if (ok != nullptr) {
*ok = false; *ok = false;
updated_messages = 0;
} }
} }
else { else {