mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 02:18:28 +02:00
with php5.3 EncodeQP uses quoted_printable_encode, which messes up content eventually
This commit is contained in:
parent
5777b7bfc5
commit
6857f1c36e
@ -1782,7 +1782,7 @@ class PHPMailer {
|
|||||||
*/
|
*/
|
||||||
public function EncodeQP($string, $line_max = 76, $space_conv = false) {
|
public function EncodeQP($string, $line_max = 76, $space_conv = false) {
|
||||||
if (function_exists('quoted_printable_encode')) { //Use native function if it's available (>= PHP5.3)
|
if (function_exists('quoted_printable_encode')) { //Use native function if it's available (>= PHP5.3)
|
||||||
return quoted_printable_encode($string);
|
//return quoted_printable_encode($string);
|
||||||
}
|
}
|
||||||
$filters = stream_get_filters();
|
$filters = stream_get_filters();
|
||||||
if (!in_array('convert.*', $filters)) { //Got convert stream filter?
|
if (!in_array('convert.*', $filters)) { //Got convert stream filter?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user