Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-12-22 14:55:50 +0300
committerHannah von Reth <vonreth@kde.org>2021-12-22 15:10:00 +0300
commitc7c88e923a27d55b8e35f3f2d2f546df10a5c662 (patch)
treeda04c0bed852e5cb265ef569aef900807815d2c0 /src/common
parentcee7a92f0a3e62b6d9058058d2dc4ad0c63b15b8 (diff)
Fix unlock of files
Fixes: #9316, #9315
Diffstat (limited to 'src/common')
-rw-r--r--src/common/syncjournaldb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/syncjournaldb.cpp b/src/common/syncjournaldb.cpp
index ac0f5c257..b79a038b5 100644
--- a/src/common/syncjournaldb.cpp
+++ b/src/common/syncjournaldb.cpp
@@ -1639,7 +1639,7 @@ void SyncJournalDb::wipeErrorBlacklistEntry(const QString &relativeFile, SyncJou
query.prepare("DELETE FROM blacklist WHERE path=?1 AND errorCategory=?2");
query.bindValue(1, relativeFile);
- query.bindValue(1, category);
+ query.bindValue(2, category);
if (!query.exec()) {
sqlFail(QStringLiteral("Deletion of blacklist item failed."), query);
}