X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fmailer%2Fclass_BaseMailer.php;h=08f66fc4cf56563d4d777be4b0a43caff6a20a1a;hb=b9c18d6c24e3be4393bf41005aa4e428a0ea3218;hp=895ae2b5f9d1a4bfb7d1a9b44a9a0b08f76230b3;hpb=361e6320e50a8bb1a3ccb675388b8042361669ae;p=core.git diff --git a/inc/classes/main/mailer/class_BaseMailer.php b/inc/classes/main/mailer/class_BaseMailer.php index 895ae2b5..08f66fc4 100644 --- a/inc/classes/main/mailer/class_BaseMailer.php +++ b/inc/classes/main/mailer/class_BaseMailer.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007 - 2009 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -30,7 +30,7 @@ class BaseMailer extends BaseFrameworkSystem { /** * Template name */ - private $templateName = ""; + private $templateName = ''; /** * Protected constructor @@ -58,7 +58,7 @@ class BaseMailer extends BaseFrameworkSystem { $this->setTemplateName($templateName); // Get configuration entry - $templatePrefix = $this->getConfigInstance()->readConfig('email_tpl_' . $templateName); + $templatePrefix = $this->getConfigInstance()->getConfigEntry('email_tpl_' . $templateName); // Load this email template $this->getTemplateInstance()->loadEmailTemplate($templatePrefix . '_' . $templateName);