From: atif-shaikh Date: Thu, 26 Jun 2014 15:12:31 +0000 (+0530) Subject: Additional QA Fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6df71703bb459a4de70c63b1effea2cf2245941e;p=civicrm-core.git Additional QA Fixes --- 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':