]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/mail/init.php
mail plugin: fix typo
[tt-rss.git] / plugins / mail / init.php
index 21b58d73721b298c27d368705e1d62e10d9e98c1..4b1989f5fab983ff5aa37a27de0b3b1e25fe34ed 100644 (file)
@@ -182,7 +182,8 @@ class Mail extends Plugin {
 
                $mail = new ttrssMailer();
 
-               $mail->AddReplyTo(strip_tags($_REQUEST['from_email'], $_REQUEST['from_name']));
+               $mail->AddReplyTo(strip_tags($_REQUEST['from_email']),
+                       strip_tags($_REQUEST['from_name']));
                //$mail->AddAddress($_REQUEST['destination']);
                $addresses = explode(';', $_REQUEST['destination']);
                foreach($addresses as $nextaddr)