mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-26 11:19:26 +02:00
Fixed invalid default Source selected on session init
This commit is contained in:
parent
318a620282
commit
e23020bd6d
@ -483,8 +483,11 @@ function InitSourceConfigs()
|
||||
{
|
||||
$tmpVar = GetConfigSetting("DefaultSourceID", "", CFGLEVEL_USER);
|
||||
if ( isset($content['Sources'][ $tmpVar ]) )
|
||||
{
|
||||
// Set Source to preconfigured sourceID!
|
||||
$_SESSION['currentSourceID'] = $tmpVar;
|
||||
$currentSourceID = $tmpVar;
|
||||
}
|
||||
else
|
||||
// No Source stored in session, then to so now!
|
||||
$_SESSION['currentSourceID'] = $currentSourceID;
|
||||
|
Loading…
x
Reference in New Issue
Block a user