fix boolean wrapped as a string literal passed when saving user (closes #568)

This commit is contained in:
Andrew Dolgov 2013-03-18 17:53:53 +04:00
parent 478d406767
commit e9f42579a3
1 changed files with 1 additions and 1 deletions

View 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'");
}