From: monishdeb Date: Tue, 12 Jan 2016 08:27:35 +0000 (+0530) Subject: minor fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ec3de1a99c492793c0b55504ae5a1e3fb8aa9343;p=civicrm-core.git minor fix --- diff --git a/CRM/Custom/Form/CustomData.php b/CRM/Custom/Form/CustomData.php index 74acb1a24f..8b30cfb5f8 100644 --- a/CRM/Custom/Form/CustomData.php +++ b/CRM/Custom/Form/CustomData.php @@ -163,7 +163,7 @@ class CRM_Custom_Form_CustomData { ); if (property_exists($form, '_customValueCount') && !empty($groupTree)) { - $form->_customValueCount = CRM_Core_BAO_CustomGroup::buildCustomDataView($form, $groupTree, TRUE, NULL, NULL); + $form->_customValueCount = CRM_Core_BAO_CustomGroup::buildCustomDataView($form, $groupTree, TRUE, NULL, NULL, NULL, $form->_entityId); } // we should use simplified formatted groupTree $groupTree = CRM_Core_BAO_CustomGroup::formatGroupTree($groupTree, $form->_groupCount, $form); diff --git a/templates/CRM/Case/Page/CustomDataView.tpl b/templates/CRM/Case/Page/CustomDataView.tpl index 4ae38614f2..2c4d5fcacc 100644 --- a/templates/CRM/Case/Page/CustomDataView.tpl +++ b/templates/CRM/Case/Page/CustomDataView.tpl @@ -44,22 +44,8 @@ {/foreach} {else} - {$element.field_title} - {if $element.field_type == 'File'} - {if $element.field_value.displayURL} - - - - - - {else} - - {$element.field_value.fileName} - - {/if} - {else} + {$element.field_title} {$element.field_value} - {/if} {/if}