Skip to content
Snippets Groups Projects
Commit f34d5d28 authored by Erik Hommel's avatar Erik Hommel
Browse files

fix notice in fieldvaluecomparison

parent c0a327a8
Branches
Tags
No related merge requests found
......@@ -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'];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment