aboutsummaryrefslogtreecommitdiffstats
path: root/include/enotify.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-03 13:50:23 -0800
committerfriendica <info@friendica.com>2013-01-03 13:50:23 -0800
commit7df33bb96366714116f8986f4a0a7d22f26729bf (patch)
tree08ac5b143f10833415119b8da1237647c602566b /include/enotify.php
parent781f49768ad1659923a9e2c67bc43df6eeb43a6e (diff)
downloadvolse-hubzilla-7df33bb96366714116f8986f4a0a7d22f26729bf.tar.gz
volse-hubzilla-7df33bb96366714116f8986f4a0a7d22f26729bf.tar.bz2
volse-hubzilla-7df33bb96366714116f8986f4a0a7d22f26729bf.zip
fix register_policy globally
Diffstat (limited to 'include/enotify.php')
-rw-r--r--include/enotify.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/enotify.php b/include/enotify.php
index 621f787ed..5780d1836 100644
--- a/include/enotify.php
+++ b/include/enotify.php
@@ -468,8 +468,8 @@ class enotify {
// generate a multipart/alternative message header
$messageHeader =
$params['additionalMailHeader'] .
- "From: {$params['fromName']} <{$params['fromEmail']}>\n" .
- "Reply-To: {$params['fromName']} <{$params['replyTo']}>\n" .
+ "From: $fromName <{$params['fromEmail']}>\n" .
+ "Reply-To: $fromName <{$params['replyTo']}>\n" .
"MIME-Version: 1.0\n" .
"Content-Type: multipart/alternative; boundary=\"{$mimeBoundary}\"";
@@ -490,7 +490,7 @@ class enotify {
// send the message
$res = mail(
$params['toEmail'], // send to address
- $params['messageSubject'], // subject
+ $messageSubject, // subject
$multipartMessageBody, // message body
$messageHeader // message headers
);