mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-25 18:59:12 +02:00
Fixed PHP Notices issue with gen_lang variable
This commit is contained in:
parent
860f041258
commit
c2a001eea4
@ -838,6 +838,11 @@ function InitConfigurationValues()
|
||||
}
|
||||
|
||||
// --- Language Handling
|
||||
|
||||
// Set gen language default
|
||||
$content['gen_lang'] = GetConfigSetting("ViewDefaultLanguage", "en", CFGLEVEL_GLOBAL);
|
||||
|
||||
// Now check for current used language
|
||||
if ( isset($_SESSION['CUSTOM_LANG']) && VerifyLanguage($_SESSION['CUSTOM_LANG']) )
|
||||
{
|
||||
$content['user_lang'] = $_SESSION['CUSTOM_LANG'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user