From 816cec4a58d8d9c845eb94fe626ff229189c0ec4 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 9 Jun 2020 20:11:26 +1000 Subject: [PATCH] fix review cards with high intervals not being reset properly would lead to a "fixed .. with invalid card property" message that didn't go away --- rslib/src/storage/card/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rslib/src/storage/card/mod.rs b/rslib/src/storage/card/mod.rs index aa4f30093..1e074252e 100644 --- a/rslib/src/storage/card/mod.rs +++ b/rslib/src/storage/card/mod.rs @@ -168,7 +168,7 @@ impl super::SqliteStorage { let mut other_cnt = self .db .prepare(include_str!("fix_due_other.sql"))? - .execute(params![mtime, usn, today])?; + .execute(params![today, mtime, usn])?; other_cnt += self .db .prepare(include_str!("fix_odue.sql"))?