From e9f42579a38a03c9cdc454a712cb0ab68069226d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 18 Mar 2013 17:53:53 +0400 Subject: [PATCH] fix boolean wrapped as a string literal passed when saving user (closes #568) --- classes/pref/users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/pref/users.php b/classes/pref/users.php index 0d7ca3c6..d36ed29f 100644 --- a/classes/pref/users.php +++ b/classes/pref/users.php @@ -214,7 +214,7 @@ class Pref_Users extends Handler_Protected { } db_query($this->link, "UPDATE ttrss_users SET $pass_query_part login = '$login', - access_level = '$access_level', email = '$email', otp_enabled = 'false' + access_level = '$access_level', email = '$email', otp_enabled = false WHERE id = '$uid'"); } -- 2.39.5