Changeset 6621 for branches/2.4/prototype
- Timestamp:
- 06/25/12 16:21:19 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/prototype/services/ImapServiceAdapter.php
r6540 r6621 625 625 if($att['disposition'] == 'embedded') 626 626 { 627 $body = str_replace('"../prototype/getArchive.php?mailAttachment='.$att['id'].'"', $att['name'], $body);627 $body = str_replace('"../prototype/getArchive.php?mailAttachment='.$att['id'].'"', '"'.mb_convert_encoding($att['name'], 'ISO-8859-1' , 'UTF-8,ISO-8859-1').'"', $body); 628 628 $mailService->addStringImage(base64_decode($att['source']), $att['type'], mb_convert_encoding($att['name'], 'ISO-8859-1' , 'UTF-8,ISO-8859-1')); 629 629 }
Note: See TracChangeset
for help on using the changeset viewer.