diff --git a/src/include/functions_config.php b/src/include/functions_config.php index a4ab29a..fb401e0 100644 --- a/src/include/functions_config.php +++ b/src/include/functions_config.php @@ -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;