From f06c4974cdf7d104c890f7afe0042b4bc36ccde4 Mon Sep 17 00:00:00 2001 From: Kurund Jalmi Date: Sat, 20 Jul 2013 02:05:15 +0530 Subject: [PATCH] notice fixes --- CRM/UF/Form/Field.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/UF/Form/Field.php b/CRM/UF/Form/Field.php index 1c7849f2c3..2722233659 100644 --- a/CRM/UF/Form/Field.php +++ b/CRM/UF/Form/Field.php @@ -533,7 +533,7 @@ class CRM_UF_Form_Field extends CRM_Core_Form { $name = NULL; - if (isset($params['field_name'][1])) { + if (isset($params['field_name'][1]) && isset($this->_selectFields[$params['field_name'][1]])) { // we dont get a name for a html formatting element $name = $this->_selectFields[$params['field_name'][1]]; } -- 2.25.1