diff options
author | Andrew Dolgov <[email protected]> | 2022-12-30 19:51:34 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-12-30 19:51:34 +0300 |
commit | c30b24d09f4096e612965af658540595262f6848 (patch) | |
tree | acd8db50e5f47728f20e750b69ee793770735c3c /classes/handler | |
parent | 5c0a5da88cd4ea451ea625310319f916fdba35fa (diff) |
deal with type errors in batch feed editor properly, un-deprecate PDO wrapper functions and document them for posterity
Diffstat (limited to 'classes/handler')
-rwxr-xr-x | classes/handler/public.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php index 190c806be..c6ec39f36 100755 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -381,7 +381,7 @@ class Handler_Public extends Handler { $login = clean($_POST["login"]); $password = clean($_POST["password"]); $remember_me = clean($_POST["remember_me"] ?? false); - $safe_mode = checkbox_to_sql_bool(clean($_POST["safe_mode"] ?? false)); + $safe_mode = checkbox_to_sql_bool($_POST["safe_mode"] ?? false); if (session_status() != PHP_SESSION_ACTIVE) { if ($remember_me) { |