From 1c2f9f0c2c292ea757c7c10470c34cf62f01e1bf Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Wed, 31 May 2023 16:30:25 +0900 Subject: [PATCH] ACL\Login if euid was set from SESSION and EUID is not int, error Force to (int) --- www/lib/CoreLibs/ACL/Login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/lib/CoreLibs/ACL/Login.php b/www/lib/CoreLibs/ACL/Login.php index a3681bf8..8374a592 100644 --- a/www/lib/CoreLibs/ACL/Login.php +++ b/www/lib/CoreLibs/ACL/Login.php @@ -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