From 6df71703bb459a4de70c63b1effea2cf2245941e Mon Sep 17 00:00:00 2001 From: atif-shaikh Date: Thu, 26 Jun 2014 20:42:31 +0530 Subject: [PATCH] Additional QA Fixes --- CRM/Core/BAO/CustomGroup.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CRM/Core/BAO/CustomGroup.php b/CRM/Core/BAO/CustomGroup.php index a8325dc39a..225d0ceb09 100644 --- a/CRM/Core/BAO/CustomGroup.php +++ b/CRM/Core/BAO/CustomGroup.php @@ -1207,7 +1207,9 @@ ORDER BY civicrm_custom_group.weight, } $fieldId = $field['id']; - $elementName = $field['element_name']; + if (!empty($field['element_name'])) { + $elementName = $field['element_name']; + } switch ($field['html_type']) { case 'Multi-Select': case 'AdvMulti-Select': -- 2.25.1