From a6626ebd4ceae7807bbc1d7ebbd7f59207c306f1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 6 Aug 2014 10:47:09 +0400 Subject: [PATCH] mail plugin: fix typo --- plugins/mail/init.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/mail/init.php b/plugins/mail/init.php index 21b58d73..4b1989f5 100644 --- a/plugins/mail/init.php +++ b/plugins/mail/init.php @@ -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)