From e070961b69e3146c5a4f109d6a3871d8e348892c Mon Sep 17 00:00:00 2001 From: yashodha Date: Mon, 24 Jun 2013 18:31:17 +0530 Subject: [PATCH] minor fix for campaign id --- CRM/Event/Page/ManageEvent.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CRM/Event/Page/ManageEvent.php b/CRM/Event/Page/ManageEvent.php index 51fb063208..6663905fff 100644 --- a/CRM/Event/Page/ManageEvent.php +++ b/CRM/Event/Page/ManageEvent.php @@ -460,12 +460,12 @@ ORDER BY start_date desc $clauses[] = "title LIKE '" . strtolower(CRM_Core_DAO::escapeWildCardString($this->_sortByCharacter)) . "%'"; } - $campainIds = $this->get('campaign_id'); - if (!CRM_Utils_System::isNull($campainIds)) { - if (!is_array($campainIds)) { + $campaignIds = $this->get('campaign_id'); + if (!CRM_Utils_System::isNull($campaignIds)) { + if (!is_array($campaignIds)) { $campaignIds = array($campaignIds); } - $clauses[] = '( campaign_id IN ( ' . implode(' , ', array_values($campainIds)) . ' ) )'; + $clauses[] = '( campaign_id IN ( ' . implode(' , ', array_values($campaignIds)) . ' ) )'; } // don't do a the below assignment when doing a -- 2.25.1