Add 'set' and 'bootstrap' methods to Env/Get/Post
[platal.git] / classes / plmailer.php
index 24479f6..fbcf852 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2010 Polytechnique.org                              *
+ *  Copyright (C) 2003-2011 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -176,7 +176,7 @@ class PlMailer extends Mail_Mime {
         if ($email instanceof PlUser) {
             $email = self::formatUser($email);
         }
-        $email = preg_replace('!(^|, *)([^<"]+?) *(<[^>]*>)!ue',
+        $email = preg_replace('!(^|, *)([^<"]+?) *(<[^>]*>)!u',
                               '\1 "\2" \3', $email);
         return preg_replace('/"([^<]+)"/e',
                             '"\\"" . PlMailer::encodeStringQP("\1") . "\\""',