Merge pull request #2140 from reg2005/patch-3

Critical bugFix in themeData.php
This commit is contained in:
Samuel Georges 2016-07-07 07:54:53 +10:00 committed by GitHub
commit dd86a13218
1 changed files with 5 additions and 0 deletions

View File

@ -207,6 +207,11 @@ class ThemeData extends Model
public static function applyAssetVariablesToCombinerFilters($filters)
{
$theme = CmsTheme::getActiveTheme();
if(!$theme){
return;
}
if (!$theme->hasCustomData()) {
return;
}