daveb
committed
on 06 Jul 05
Fix bug where content_type is not set. We need to check if an uploaded
file's mime type is mapped to image. Later the code uses the passed i… Show more
Fix bug where content_type is not set. We need to check if an uploaded

file's mime type is mapped to image. Later the code uses the passed in

other_type or image_type parameter to set the actual content type of

the item created. The code only checks for image or not image, so we

don't need to find out every type mapped to the upload file's mime type.

Show less