From e75182f213f39f85a41a043fc384e508fe8034c2 Mon Sep 17 00:00:00 2001 From: Jaap Jansma Date: Fri, 20 Nov 2015 13:48:15 +0100 Subject: [PATCH] fixed #CRM-17382 --- CRM/Activity/BAO/Activity.php | 3 --- CRM/Case/BAO/Case.php | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Activity/BAO/Activity.php b/CRM/Activity/BAO/Activity.php index f42e030d44..0dd53100ec 100644 --- a/CRM/Activity/BAO/Activity.php +++ b/CRM/Activity/BAO/Activity.php @@ -2205,9 +2205,6 @@ AND cl.modified_id = c.id 'type' => CRM_Utils_Type::T_BOOLEAN, ), ); - - // add custom data for cases - $fields = array_merge($fields, CRM_Core_BAO_CustomField::getFieldsForImport('Case')); } // add custom data for case activities diff --git a/CRM/Case/BAO/Case.php b/CRM/Case/BAO/Case.php index 3b53743b30..e83a961595 100644 --- a/CRM/Case/BAO/Case.php +++ b/CRM/Case/BAO/Case.php @@ -1741,6 +1741,9 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c 'name' => 'case_status', ); + // add custom data for cases + $fields = array_merge($fields, CRM_Core_BAO_CustomField::getFieldsForImport('Case')); + self::$_exportableFields = $fields; } return self::$_exportableFields; -- 2.25.1