Skip to content
Snippets Groups Projects
Commit 50ad4b78 authored by Björn Endres's avatar Björn Endres :sailboat:
Browse files

fallback if not title is set shouldn't be empty

parent 65bf7e9d
Branches
Tags
No related merge requests found
......@@ -43,7 +43,7 @@ class CRM_CivirulesConditions_Form_FieldValueComparison extends CRM_CivirulesCon
if (isset($field['title'])) {
$label = $field['title'];
} else {
$label = "";
$label = $field['name'];
}
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