From a5e3a5709d3987b96b098c50b41facc0b94b9c87 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Fri, 25 Jan 2019 07:58:09 -0500
Subject: [PATCH] Remove duplicate initialization; minor style fix.

---
 module/VuFind/src/VuFind/Controller/FeedbackController.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/module/VuFind/src/VuFind/Controller/FeedbackController.php b/module/VuFind/src/VuFind/Controller/FeedbackController.php
index 1e958550845..7251b3b5399 100644
--- a/module/VuFind/src/VuFind/Controller/FeedbackController.php
+++ b/module/VuFind/src/VuFind/Controller/FeedbackController.php
@@ -85,7 +85,6 @@ class FeedbackController extends AbstractBase
 
         list($senderName, $senderEmail) = $this->getSender();
 
-        $replyToName = $replyToEmail = null;
         $replyToName = $params->fromPost(
             'name',
             $user ? trim($user->firstname . ' ' . $user->lastname) : null
@@ -99,7 +98,7 @@ class FeedbackController extends AbstractBase
 
         $emailSubject = $form->getEmailSubject($params->fromPost());
 
-        list($success, $errorMsg)= $this->sendEmail(
+        list($success, $errorMsg) = $this->sendEmail(
             $recipientName, $recipientEmail, $senderName, $senderEmail,
             $replyToName, $replyToEmail, $emailSubject, $emailMessage
         );
-- 
GitLab