//fixed bug with images when theme don't have associate image type
This commit is contained in:
1 parent
caf95de092
commit
9cf577ff0d
1 file changed
+2
-2
@@ -152,7 +152,7 @@ class ImageTypeCore extends ObjectModel
|
||||
else if (self::getByNameNType($theme_name.'_'.$name_without_theme_name))
|
||||
return $theme_name.'_'.$name_without_theme_name;
|
||||
else
|
||||
return $name_without_theme_name;
|
||||
return $name_without_theme_name.'_default';
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user