]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixed: If the site name contains "." or "@" (and perhaps others), then notification...
authorCraig Andrews <candrews@integralblue.com>
Tue, 21 Jul 2009 18:03:08 +0000 (14:03 -0400)
committerCraig Andrews <candrews@integralblue.com>
Tue, 21 Jul 2009 18:03:08 +0000 (14:03 -0400)
SITE_NAME <noreply@HOSTNAME> :"

Thanks jk3us

http://laconi.ca/trac/ticket/1356

lib/mail.php

index 90ee3c992855e06fba3e981779124335f69fec40..262f788ee5f3ce387ab096c8d477695fd6ca9017 100644 (file)
@@ -121,7 +121,7 @@ function mail_notify_from()
 
         $domain = mail_domain();
 
-        $notifyfrom = common_config('site', 'name') .' <noreply@'.$domain.'>';
+        $notifyfrom = '"'.common_config('site', 'name') .'" <noreply@'.$domain.'>';
     }
 
     return $notifyfrom;