From 187abfe732fe62cf4b30847665dab30903d00d99 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 3 Dec 2017 09:35:59 +0300 Subject: main classes: remove sql_bool_to_bool() kludge --- classes/pref/prefs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes/pref/prefs.php') diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index ab39b1e28..ff778cbce 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -207,7 +207,7 @@ class Pref_Prefs extends Handler_Protected { $email = htmlspecialchars($row["email"]); $full_name = htmlspecialchars($row["full_name"]); - $otp_enabled = sql_bool_to_bool($row["otp_enabled"]); + $otp_enabled = $row["otp_enabled"]; print "".__('Full name').""; print "encode(sha1($row["salt"])); -- cgit v1.2.3-54-g00ecf