<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body>
    
<div>That's the change that don't let me upload company logo anymore.</div><br><br>-------- Mensagem original --------<br>De : Alan Lord <alanslists@gmail.com> <br>Data: 16/10/2015  13:33  (GMT+00:00) <br>Para: vtigercrm-developers@lists.vtigercrm.com <br>Assunto: [Vtigercrm-developers] 6.4.0 change to CRMEntity.php? <br><br>In 6.4.0 is this new chunk of code at line 140:<br><br>>                 $save_file = 'true';<br>>                 //only images are allowed for Image Attachmenttype<br>>                 $mimeType = mime_content_type($file_details['tmp_name']);<br>>                 $mimeTypeContents = explode('/', $mimeType);<br>>                 // For contacts and products we are sending attachmentType as value<br>>                 if ($attachmentType == 'Image' || ($file_details['size'] && $mimeTypeContents[0] == 'image')) {<br>>                         $save_file = validateImageFile($file_details);<br>>                 }<br>>                 if ($save_file == 'false') {<br>>                         return false;<br>>                 }<br><br>Note the test line:<br><br>>  if ($attachmentType == 'Image' || ($file_details['size'] && $mimeTypeContents[0] == 'image')) {<br><br>I just searched the whole CRMEntity.php file and can't find <br>$attachmentType *anywhere* else in the file... Is that correct?<br><br>Al<br><br>_______________________________________________<br>http://www.vtiger.com/<br></body></html>