X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Femail.php;h=b43ae0dc1c200614a94e4beef83a04b543f65b99;hb=893ece90664588e61584b479ca7af0021ca1df83;hp=bd44cb763e55a0b5741d8471a621efdef3b14510;hpb=bdd275474044152a5d9a33ea6b8a8071b931d27e;p=friendica.git diff --git a/include/email.php b/include/email.php index bd44cb763e..b43ae0dc1c 100755 --- a/include/email.php +++ b/include/email.php @@ -250,7 +250,7 @@ function email_header_encode($in_str, $charset) { // remove trailing spacer and // add start and end delimiters - $spacer = preg_quote($spacer); + $spacer = preg_quote($spacer,'/'); $out_str = preg_replace("/" . $spacer . "$/", "", $out_str); $out_str = $start . $out_str . $end; }