From 4815de8925c2ec461fdac7a76ab2aed1e545d29d Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 22 Jun 2020 14:33:14 +0200 Subject: [PATCH] Fix mistake --- src/helpers/database.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/database.rs b/src/helpers/database.rs index c8bd0ba..18241ec 100644 --- a/src/helpers/database.rs +++ b/src/helpers/database.rs @@ -145,7 +145,7 @@ impl QueryInfo { pub fn cond_legacy_bool(mut self, key: &str, val: bool) -> QueryInfo { let val = match val { true => "1".to_string(), - false => "2".to_string() + false => "0".to_string() }; self.conditions.insert(key.to_string(), val);