|
From: Ulf E. <ulf...@us...> - 2005-07-20 18:47:38
|
Update of /cvsroot/phpbt/phpbt/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8180/inc Modified Files: functions.php Log Message: Bug [ 827095 ] incorrect 8-bit subject in sented messages. Reported and patched by Alex Samorukov. Index: functions.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/inc/functions.php,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- functions.php 4 Jun 2005 16:11:16 -0000 1.53 +++ functions.php 20 Jul 2005 18:47:25 -0000 1.54 @@ -593,6 +593,8 @@ function qp_mail($to, $subject = 'No subject', $body, $headers = '') { global $STRING; + $subject="=?".CHARSET."?B?".base64_encode($subject)."?="; + if ($headers != '') { $headers .= "\n"; // There have to be no newline at the end of $headers |