Fixed parser error.
[core.git] / inc / classes / main / mailer / class_BaseMailer.php
index 9d9b12126d5703a1c20e22352644cb71045e90c8..cd2de7ab3b2228fe9ee33581b8588c113508e27a 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A general mailer class for all other mailers
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -68,7 +68,7 @@ class BaseMailer extends BaseFrameworkSystem {
                $templateName = $this->getTemplateName();
 
                // Is the list initialized?
-               $this->pushValueToGenericArrayElement('recipients', $templateName, 'recipients', $userInstance);
+               $this->pushValueToGenericArrayKey('recipients', $templateName, 'recipients', $userInstance);
        }
 
        /**
@@ -146,7 +146,7 @@ class BaseMailer extends BaseFrameworkSystem {
         * @return      void
         */
        public final function setSubjectLine ($subjectLine) {
-       `       $this->setGenericArrayElement('recipients', $this->getTemplateName(), 'generic', 'subject', $subjectLine);
+               $this->setGenericArrayElement('recipients', $this->getTemplateName(), 'generic', 'subject', $subjectLine);
        }
 
        /**