mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:25:55 +00:00
login: fix profile warning
This commit is contained in:
@@ -701,7 +701,7 @@ class Handler_Public extends Handler {
|
||||
$_SESSION["bw_limit"] = !!clean($_POST["bw_limit"] ?? false);
|
||||
$_SESSION["safe_mode"] = $safe_mode;
|
||||
|
||||
if (clean($_POST["profile"])) {
|
||||
if (!empty($_POST["profile"])) {
|
||||
|
||||
$profile = (int) clean($_POST["profile"]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user