Fixed (again) some more generic array handling
[core.git] / inc / classes / main / mailer / class_BaseMailer.php
index 9d9b12126d5703a1c20e22352644cb71045e90c8..8e7a1545a399cde9d2a0e2c034def3aac36f9549 100644 (file)
@@ -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);
        }
 
        /**