Skip to content
Snippets Groups Projects
Commit 88b975a7 authored by jaapjansma's avatar jaapjansma
Browse files

show name when no title is set for field in DAO

parent a9a9d1fb
No related branches found
No related tags found
No related merge requests found
......@@ -28,9 +28,9 @@ class Utils {
if (in_array($field['name'], $fieldsToSkip)) {
continue;
}
$title = $field['title'];
if (empty($title)) {
$title = $field['name'];
$title = $field['name'];
if (isset($field['title']) && $field['title']) {
$title = $field['title'];
}
$type = \CRM_Utils_Type::typeToString($field['type']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment