From da6fabade4bdb65d310ebab812e60a2969f3ec18 Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 19 Jul 2018 20:32:05 +1200 Subject: [PATCH] Remove e-notice causing clause. I'm pretty convinced that this would never be true - although it WOULD be true [] would have the case fields. We are calling queryFields both with case enabled & disabled which is the only thing changing it's output --- CRM/Export/BAO/Export.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/CRM/Export/BAO/Export.php b/CRM/Export/BAO/Export.php index ed6bcbb1bb54..449d66a8ce35 100644 --- a/CRM/Export/BAO/Export.php +++ b/CRM/Export/BAO/Export.php @@ -1729,9 +1729,6 @@ public static function setHeaderRows($field, $headerRows, $sqlColumns, $processo elseif ($field == 'provider_id') { $headerRows[] = ts('IM Service Provider'); } - elseif (substr($field, 0, 5) == 'case_' && $queryFields['case'][$field]['title']) { - $headerRows[] = $queryFields['case'][$field]['title']; - } elseif (array_key_exists($field, self::$relationshipTypes)) { foreach ($value as $relationField => $relationValue) { // below block is same as primary block (duplicate)