]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix boolean wrapped as a string literal passed when saving user (closes #568)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 18 Mar 2013 13:53:53 +0000 (17:53 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 18 Mar 2013 13:53:53 +0000 (17:53 +0400)
classes/pref/users.php

index 0d7ca3c6e231fd2c599fd260fa6a729cc2894163..d36ed29f7b8f8d4a4ba7133d6308027e0f044bf2 100644 (file)
@@ -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'");
 
                }