//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 f5c2d8e826
commit 88b6502488
+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';
}
}
}