From: Sandor Semsey Date: Mon, 24 Apr 2023 20:55:32 +0000 (+0200) Subject: fix typo in local variable name X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=dbc223f4e3917b91df01cf1b21fe7f94f50ef72c;p=civicrm-core.git fix typo in local variable name --- diff --git a/CRM/Mailing/Selector/Browse.php b/CRM/Mailing/Selector/Browse.php index df1442be6f..862ca2e446 100644 --- a/CRM/Mailing/Selector/Browse.php +++ b/CRM/Mailing/Selector/Browse.php @@ -615,12 +615,12 @@ LEFT JOIN civicrm_contact scheduledContact ON ( $mailing.scheduled_id = schedul $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')) {