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