Changeset 5745 for trunk/expressoMail1_2/inc/class.imap_functions.inc.php
- Timestamp:
- 03/16/12 17:33:05 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r5743 r5745 2759 2759 $body = mb_ereg_replace('<!--\[', '<!-- [', $params['body']); 2760 2760 $body = str_replace("%nbsp;"," ",$body); 2761 $body = preg_replace("/\n/"," ",$body);2762 $body = preg_replace("/\r/","" ,$body);2761 //$body = preg_replace("/\n/"," ",$body); 2762 //$body = preg_replace("/\r/","" ,$body); 2763 2763 $body = html_entity_decode ( $body, ENT_QUOTES , 'ISO-8859-1' ); 2764 2764 } … … 2843 2843 2844 2844 $mailService->setSubject($subject); 2845 $isHTML = ( (array_key_exists('type', $params) && in_array(strtolower($params['type']), array('html', 'plain')) ) ? 2846 strtolower($params['type']) != 'plain' : true ); 2845 $isHTML = ( isset($params['type']) && $params['type'] == 'html' )? true : false; 2847 2846 2848 2847
Note: See TracChangeset
for help on using the changeset viewer.