deal with type errors in batch feed editor properly, un-deprecate PDO wrapper functions and document them for posterity

This commit is contained in:
Andrew Dolgov
2022-12-30 19:51:34 +03:00
parent 5c0a5da88c
commit c30b24d09f
4 changed files with 23 additions and 20 deletions

View File

@@ -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) {