diff --git a/CRM/CivirulesConditions/Form/FieldValueComparison.php b/CRM/CivirulesConditions/Form/FieldValueComparison.php index 37ec95fafa110d469cc0bfff5f1a1dc891bf3c63..e78fed27fc4f752d8af7cceb874fe45530fc11c7 100644 --- a/CRM/CivirulesConditions/Form/FieldValueComparison.php +++ b/CRM/CivirulesConditions/Form/FieldValueComparison.php @@ -40,7 +40,11 @@ class CRM_CivirulesConditions_Form_FieldValueComparison extends CRM_CivirulesCon $fields = call_user_func(array($className, 'fields')); foreach ($fields as $field) { $fieldKey = $key . $field['name']; - $label = $field['title']; + if (isset($field['title'])) { + $label = $field['title']; + } else { + $label = ""; + } if (empty($label)) { $label = $field['name']; }