Compatibility with inline - file uploads

Nathaniel - October 12, 2009 - 04:55
Project:Mobile Media Blog
Version:6.x-1.1
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:needs review
Description

Thank you for the contribution! It's great!

Small change around line ~ 70

<?php

$file
->filemime = strtolower($part->filemime);

?>

Images were not showing up automatically with the inline module. I pinned it down in the db where mime type was being saved in all caps. Changed the mime type to lower case and images are now showing.

 
 

Drupal is a registered trademark of Dries Buytaert.