JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed file_run to use _main postfix, added enc_url_path(), enc_ddmmyyyhhmm(), allowed...
[wfpl.git] / email.php
index 8140ded..b3d4925 100644 (file)
--- a/email.php
+++ b/email.php
@@ -44,7 +44,7 @@ function email($from, $to, $subject, $message, $cc = '', $bcc = '') {
        if($to   == '') { return 2; }
 
        #FIXME should allow many more characters here
-       $subject = ereg_replace("[^a-zA-Z _'.-]", '_', $subject);
+       $subject = ereg_replace("[^a-zA-Z _'.:-]", '_', $subject);
 
        $headers = "From: $from";
        if($cc) {