ACL\Login if euid was set from SESSION and EUID is not int, error

Force to (int)
This commit is contained in:
Clemens Schwaighofer
2023-05-31 16:30:25 +09:00
parent 30bb0e8895
commit d676c02a5a

View File

@@ -1861,7 +1861,7 @@ HTML;
}
}
// if there is none, there is none, saves me POST/GET check
$this->euid = array_key_exists('EUID', $_SESSION) ? $_SESSION['EUID'] : 0;
$this->euid = array_key_exists('EUID', $_SESSION) ? (int)$_SESSION['EUID'] : 0;
// get login vars, are so, can't be changed
// prepare
// pass on vars to Object vars