Fix crash when adding if there are more then 1 dupe (#7405)

This commit is contained in:
AntsyLich 2022-06-28 18:14:08 +06:00 committed by GitHub
parent 0c856438fa
commit 0969226fd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,8 @@ SELECT *
FROM mangas
WHERE favorite = 1
AND LOWER(title) = :title
AND source != :source;
AND source != :source
LIMIT 1;
resetViewerFlags:
UPDATE mangas