fix typo in local variable name
authorSandor Semsey <sandor@es-progress.hu>
Mon, 24 Apr 2023 20:55:32 +0000 (22:55 +0200)
committerSandor Semsey <sandor@es-progress.hu>
Mon, 24 Apr 2023 20:55:32 +0000 (22:55 +0200)
CRM/Mailing/Selector/Browse.php

index df1442be6ff750763d81f3bc60d2aa25346c0a9d..862ca2e446d556889770f844339272059e4e9ccc 100644 (file)
@@ -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')) {