//fixed bug with images when theme don't have associate image type

This commit is contained in:
Vincent Augagneur
2013-01-23 09:30:49 +01:00
parent caf95de092
commit 9cf577ff0d
+2 -2
View File
@@ -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';
}
}
}