- Timestamp:
- Mar 17, 2008, 9:22:05 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_mail.inc.php
r2278 r2280 99 99 global $conf; 100 100 101 // Spring cleaning 102 $cvt_email = trim(preg_replace('#[\n\r]+#s', '', $email)); 103 101 104 if ($conf['enabled_format_email']) 102 105 { 103 106 // Spring cleaning 104 107 $cvt_name = trim(preg_replace('#[\n\r]+#s', '', $name)); 105 $cvt_email = trim(preg_replace('#[\n\r]+#s', '', $email));106 108 107 109 if ($cvt_name!="") … … 740 742 function pwg_send_mail($result, $to, $subject, $content, $headers) 741 743 { 742 if (!$result)743 {744 if (!$result) 745 { 744 746 global $conf_mail; 745 747 … … 764 766 } 765 767 } 766 } 768 } 769 else 770 { 771 return $result; 772 } 767 773 } 768 774
Note: See TracChangeset
for help on using the changeset viewer.