From 229c2785dd0c9df3bc6e31d92fdb0c03c061bfcc Mon Sep 17 00:00:00 2001 From: Chris Doten Date: Sat, 4 May 2013 21:10:05 +0000 Subject: [PATCH] Updated report display to show campaign name, not ID number --- CRM/Report/Form/Member/Detail.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Report/Form/Member/Detail.php b/CRM/Report/Form/Member/Detail.php index e307227b14..af0d1b1aab 100644 --- a/CRM/Report/Form/Member/Detail.php +++ b/CRM/Report/Form/Member/Detail.php @@ -520,9 +520,9 @@ class CRM_Report_Form_Member_Detail extends CRM_Report_Form { } // Convert campaign_id to campaign title - if (array_key_exists('civicrm_contribution_campaign_id', $row)) { - if ($value = $row['civicrm_contribution_campaign_id']) { - $rows[$rowNum]['civicrm_contribution_campaign_id'] = $this->activeCampaigns[$value]; + if (array_key_exists('civicrm_membership_campaign_id', $row)) { + if ($value = $row['civicrm_membership_campaign_id']) { + $rows[$rowNum]['civicrm_membership_campaign_id'] = $this->activeCampaigns[$value]; $entryFound = TRUE; } } -- 2.25.1