Remove not needed ?? '' in ACL\Login

This commit is contained in:
Clemens Schwaighofer
2023-01-16 14:29:25 +09:00
parent ff644310cd
commit cf58f86802

View File

@@ -1633,7 +1633,7 @@ EOM;
$this->session->checkActiveSession() === true && $this->session->checkActiveSession() === true &&
!empty($_SESSION['DEFAULT_LOCALE']) !empty($_SESSION['DEFAULT_LOCALE'])
) { ) {
$locale = $_SESSION['DEFAULT_LOCALE'] ?? ''; $locale = $_SESSION['DEFAULT_LOCALE'];
} else { } else {
$locale = (defined('SITE_LOCALE') && !empty(SITE_LOCALE)) ? $locale = (defined('SITE_LOCALE') && !empty(SITE_LOCALE)) ?
SITE_LOCALE : SITE_LOCALE :