diff --git a/html/main.php b/html/main.php
index e43f2aaeb104149ffc1c5b3d6bc85e9e71146f32..3e1363f1a42bbc0f170eae3e8c8bcab118b6f2f4 100644 (file)
--- a/html/main.php
+++ b/html/main.php
$lang= $config->data['MAIN']['LANG'];
}
+/* Preset current main base */
+if(!isset($_SESSION['CurrentMainBase'])){
+ $_SESSION['CurrentMainBase']= get_base_from_people($ui->dn);
+}
+
$lang.=".UTF-8";
putenv("LANGUAGE=");
putenv("LANG=$lang");