mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:35:57 +00:00
more php8 fixes mostly related to login
This commit is contained in:
@@ -148,7 +148,7 @@
|
||||
$lang = _TRANSLATION_OVERRIDE_DEFAULT;
|
||||
}
|
||||
|
||||
if ($_SESSION["uid"] && get_schema_version() >= 120) {
|
||||
if (!empty($_SESSION["uid"]) && get_schema_version() >= 120) {
|
||||
$pref_lang = get_pref("USER_LANGUAGE", $_SESSION["uid"]);
|
||||
|
||||
if ($pref_lang && $pref_lang != 'auto') {
|
||||
|
||||
Reference in New Issue
Block a user