Skip to content

Commit

Permalink
fix typo in local variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
semseysandor committed Apr 24, 2023
1 parent cd8aad6 commit dbc223f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CRM/Mailing/Selector/Browse.php
Original file line number Diff line number Diff line change
Expand Up @@ -615,12 +615,12 @@ public function whereClause(&$params, $sortBy = TRUE) {
$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')) {
Expand Down

0 comments on commit dbc223f

Please sign in to comment.