- Timestamp:
- Mar 17, 2008, 9:18:31 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_7/include/functions_mail.inc.php
r2139 r2279 3 3 // | PhpWebGallery - a PHP based picture gallery | 4 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-200 7PhpWebGallery Team - http://phpwebgallery.net |5 // | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | file : $Id$ … … 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!="") … … 748 750 function pwg_send_mail($result, $to, $subject, $content, $headers) 749 751 { 750 if (!$result)751 {752 if (!$result) 753 { 752 754 global $conf_mail; 753 755 … … 772 774 } 773 775 } 774 } 776 } 777 else 778 { 779 return $result; 780 } 775 781 } 776 782
Note: See TracChangeset
for help on using the changeset viewer.