Bugfix undefined $oConfig

This commit is contained in:
the-djmaze 2022-11-29 17:18:27 +01:00
parent a4aec30035
commit 6d7c84226a

View file

@ -551,7 +551,7 @@ class ServiceActions
$sTheme = $this->oActions->ValidateTheme($this->aPaths[4]); $sTheme = $this->oActions->ValidateTheme($this->aPaths[4]);
$bAppDebug = $this->Config()->Get('debug', 'enable', false); $bAppDebug = $this->Config()->Get('debug', 'enable', false);
$sMinify = ($bAppDebug || $oConfig->Get('labs', 'use_app_debug_css', false)) ? '' : 'min'; $sMinify = ($bAppDebug || $this->Config()->Get('labs', 'use_app_debug_css', false)) ? '' : 'min';
$bCacheEnabled = !$bAppDebug && $this->Config()->Get('labs', 'cache_system_data', true); $bCacheEnabled = !$bAppDebug && $this->Config()->Get('labs', 'cache_system_data', true);
if ($bCacheEnabled) { if ($bCacheEnabled) {