Minor code tidy
This commit is contained in:
parent
dd86a13218
commit
9be8a8c0a3
|
|
@ -207,11 +207,11 @@ class ThemeData extends Model
|
|||
public static function applyAssetVariablesToCombinerFilters($filters)
|
||||
{
|
||||
$theme = CmsTheme::getActiveTheme();
|
||||
|
||||
if(!$theme){
|
||||
|
||||
if (!$theme){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (!$theme->hasCustomData()) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue