summaryrefslogtreecommitdiff
path: root/classes/handler
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-12-30 19:51:34 +0300
committerAndrew Dolgov <[email protected]>2022-12-30 19:51:34 +0300
commitc30b24d09f4096e612965af658540595262f6848 (patch)
treeacd8db50e5f47728f20e750b69ee793770735c3c /classes/handler
parent5c0a5da88cd4ea451ea625310319f916fdba35fa (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-xclasses/handler/public.php2
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) {