- if (!isset($this->recipientList[$templateName][$sectionName])) {
- // Then initialize it here
- $this->recipientList[$templateName][$sectionName] = array();
- } // END - if
-
- // Add the variable to the list
- $this->recipientList[$templateName][$sectionName][$variableName] = 'OK';
+ $this->setGenericArrayElement('recipients', $templateName, $sectionName, $variableName, 'OK');