mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-18 22:41:09 +02:00
login: fix profile warning
This commit is contained in:
parent
07408ac222
commit
9f3de2d24c
@ -701,7 +701,7 @@ class Handler_Public extends Handler {
|
|||||||
$_SESSION["bw_limit"] = !!clean($_POST["bw_limit"] ?? false);
|
$_SESSION["bw_limit"] = !!clean($_POST["bw_limit"] ?? false);
|
||||||
$_SESSION["safe_mode"] = $safe_mode;
|
$_SESSION["safe_mode"] = $safe_mode;
|
||||||
|
|
||||||
if (clean($_POST["profile"])) {
|
if (!empty($_POST["profile"])) {
|
||||||
|
|
||||||
$profile = (int) clean($_POST["profile"]);
|
$profile = (int) clean($_POST["profile"]);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user