]> git.wh0rd.org - tt-rss.git/commitdiff
mail plugin: fix typo
authorAndrew Dolgov <noreply@fakecake.org>
Wed, 6 Aug 2014 06:47:09 +0000 (10:47 +0400)
committerAndrew Dolgov <noreply@fakecake.org>
Wed, 6 Aug 2014 06:47:09 +0000 (10:47 +0400)
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)