From 9e1c690519dc4666fbb7d4a66b950d56770b25e0 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 14 May 2015 11:21:13 +0200 Subject: [PATCH] Some fixes. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- inc/classes/main/mailer/debug/class_DebugMailer.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/classes/main/mailer/debug/class_DebugMailer.php b/inc/classes/main/mailer/debug/class_DebugMailer.php index e72523d2..a3e1fa13 100644 --- a/inc/classes/main/mailer/debug/class_DebugMailer.php +++ b/inc/classes/main/mailer/debug/class_DebugMailer.php @@ -52,7 +52,7 @@ class DebugMailer extends BaseMailer implements DeliverableMail { $mailerInstance->setApplicationInstance($applicationInstance); // Set template name - $mailerInstance->setTemplateName('resend_link'); + $mailerInstance->setTemplateName($templateName); // Return the instance return $mailerInstance; @@ -76,7 +76,7 @@ class DebugMailer extends BaseMailer implements DeliverableMail { if (!$recipientInstance instanceof ManageableMember) { // Invalid entry found! throw new InvalidInterfaceException(array($this, 'ManageableMember'), self::EXCEPTION_REQUIRED_INTERFACE_MISSING); - } + } // END - if // User class found, so entry is valid, first load the template $this->loadTemplate($templateName); @@ -112,7 +112,7 @@ class DebugMailer extends BaseMailer implements DeliverableMail { $responseInstance = $this->getApplicationInstance()->getResponseInstance(); // Transfer the data to the response - $this->getTemplateInstance()->transferToResponse($responseInstance); + $templateInstance->transferToResponse($responseInstance); } // END - foreach } // END - foreach } -- 2.30.2