diff options
author | Minteck <contact@minteck.org> | 2022-06-04 15:17:01 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-06-04 15:17:01 +0200 |
commit | 523f3499fd03f64e3e5b40dd9a3caa4b8d01d759 (patch) | |
tree | bffe9b46027ce991b1586277e83b9cbf834a11fa | |
parent | 6ad8ff9d19132e7cc445ec71a738099ac8b81d4c (diff) | |
download | intro-523f3499fd03f64e3e5b40dd9a3caa4b8d01d759.tar.gz intro-523f3499fd03f64e3e5b40dd9a3caa4b8d01d759.tar.bz2 intro-523f3499fd03f64e3e5b40dd9a3caa4b8d01d759.zip |
Fix language
-rw-r--r-- | session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/session.php b/session.php index 9d7ce99..50468b7 100644 --- a/session.php +++ b/session.php @@ -52,7 +52,7 @@ if (isset($_COOKIE['FL_SESSION_TOKEN'])) { $_USER = $_PROFILE['login']; $_SUID = $_PROFILE['login']; $_FULLNAME = $_PROFILE['name']; - $_FRENCH = $_PROFILE['locale']['name'] === "fr"; + $_FRENCH = $_PROFILE['profile']['locale']['name'] === "fr"; $loggedIn = true; if (!in_array($_USER, $_WELCOMED)) { |