From: Andrew Dolgov Date: Mon, 18 Mar 2013 13:53:53 +0000 (+0400) Subject: fix boolean wrapped as a string literal passed when saving user (closes #568) X-Git-Tag: 1.7.5~133 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e9f42579a38a03c9cdc454a712cb0ab68069226d;p=tt-rss.git fix boolean wrapped as a string literal passed when saving user (closes #568) --- 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'"); }