From baf8a079a7ed86a35cc92c3931b1ccdd41f9a929 Mon Sep 17 00:00:00 2001 From: yashodha Date: Thu, 11 Apr 2013 22:40:23 +0530 Subject: [PATCH] CRM-12274 --- CRM/Campaign/BAO/Survey.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Campaign/BAO/Survey.php b/CRM/Campaign/BAO/Survey.php index bfb6c2df57..e94fbbeb31 100644 --- a/CRM/Campaign/BAO/Survey.php +++ b/CRM/Campaign/BAO/Survey.php @@ -520,8 +520,8 @@ Group By contact.id"; $query = " SELECT activity.id, activity.status_id, - activityTarget.target_contact_id as voter_id, - activityAssignment.assignee_contact_id as interviewer_id + activityTarget.contact_id as voter_id, + activityAssignment.contact_id as interviewer_id FROM civicrm_activity activity INNER JOIN civicrm_activity_contact activityTarget ON ( activityTarget.activity_id = activity.id AND activityTarget.record_type = 'Target') -- 2.25.1