X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=email.php;h=c7ae44f84cf6681fb1f7a5a3186c8576fdd6fda1;hb=bf184948468ff3574dc1de69359be73282f3c627;hp=92cb6f0a5ba15e1a55d1dec87650e1b37d29b8db;hpb=554b3215eda9d33d86b8bd30df28e02eabb89ae7;p=wfpl.git diff --git a/email.php b/email.php index 92cb6f0..c7ae44f 100644 --- a/email.php +++ b/email.php @@ -41,7 +41,7 @@ function email($from, $to, $subject, $message, $reply_to = '', $cc = '', $bcc = if($to == '') { return 2; } #FIXME should allow many more characters here - $subject = ereg_replace("[^a-zA-Z0-9 _#'.:-]", '_', $subject); + $subject = ereg_replace("[^a-zA-Z0-9 _#'.:&,-]", '_', $subject); $headers = "From: $from"; if($reply_to) {