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

(cherry picked from commit 0969226fd371851849bf4bfb3eeb44ede9a6b8ad)
This commit is contained in:
AntsyLich 2022-06-28 18:14:08 +06:00 committed by Jobobby04
parent e36cacee5a
commit afe15d8256

View File

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