summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-06-04 15:17:01 +0200
committerMinteck <contact@minteck.org>2022-06-04 15:17:01 +0200
commit523f3499fd03f64e3e5b40dd9a3caa4b8d01d759 (patch)
treebffe9b46027ce991b1586277e83b9cbf834a11fa
parent6ad8ff9d19132e7cc445ec71a738099ac8b81d4c (diff)
downloadintro-523f3499fd03f64e3e5b40dd9a3caa4b8d01d759.tar.gz
intro-523f3499fd03f64e3e5b40dd9a3caa4b8d01d759.tar.bz2
intro-523f3499fd03f64e3e5b40dd9a3caa4b8d01d759.zip
Fix language
-rw-r--r--session.php2
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)) {