diff --git a/application/themehandlerservice.class.inc.php b/application/themehandlerservice.class.inc.php index 4e29d3b6f..b35605dbd 100644 --- a/application/themehandlerservice.class.inc.php +++ b/application/themehandlerservice.class.inc.php @@ -29,7 +29,7 @@ class ThemeHandlerService { } - public function CompileTheme($sThemeId, $bSetup = false, $sSetupCompilationTimestamp="", $aThemeParameters = null, $aImportsPaths = null, $sWorkingPath = null){ - return ThemeHandler::CompileTheme($sThemeId, $bSetup, $sSetupCompilationTimestamp="", $aThemeParameters, $aImportsPaths, $sWorkingPath); + public function CompileTheme($sThemeId, $bSetup = false, $sSetupCompilationTimestamp = "", $aThemeParameters = null, $aImportsPaths = null, $sWorkingPath = null){ + return ThemeHandler::CompileTheme($sThemeId, $bSetup, $sSetupCompilationTimestamp, $aThemeParameters, $aImportsPaths, $sWorkingPath); } } \ No newline at end of file diff --git a/test/setup/MFCompilerTest.php b/test/setup/MFCompilerTest.php index 77d94b5a0..9118dbb28 100644 --- a/test/setup/MFCompilerTest.php +++ b/test/setup/MFCompilerTest.php @@ -178,6 +178,7 @@ class MFCompilerTest extends ItopTestCase { 'stylesheets' => [ "fullmoon" => '../css/backoffice/main.scss', "environment-banner" => '../css/backoffice/themes/page-banner.scss', + "datamodel-compiled-scss-rules" => 'branding/themes/datamodel-compiled-scss-rules.scss', ], ];