$params[5] = [$createdId, 'Integer'];
}
- $campainIds = $this->_parent->get('campaign_id');
- if (!CRM_Utils_System::isNull($campainIds)) {
- if (!is_array($campainIds)) {
+ $campaignIds = $this->_parent->get('campaign_id');
+ if (!CRM_Utils_System::isNull($campaignIds)) {
+ if (!is_array($campaignIds)) {
$campaignIds = [$campaignIds];
}
- $clauses[] = '( campaign_id IN ( ' . implode(' , ', array_values($campainIds)) . ' ) )';
+ $clauses[] = '( campaign_id IN ( ' . implode(' , ', array_values($campaignIds)) . ' ) )';
}
if ($language = $this->_parent->get('language')) {