Skip to content
Snippets Groups Projects
Commit 53804fc5 authored by DaveD's avatar DaveD Committed by Seamus Lee
Browse files
parent 35b5fd07
Branches
Tags
No related merge requests found
......@@ -6419,6 +6419,10 @@ AND displayRelType.is_active = 1
if (!empty($pseudoConstantMetadata['optionGroupName'])
|| $this->isPseudoFieldAnFK($fieldSpec)
) {
// dev/core#1305 @todo this is not the right thing to do but for now avoid fatal error
if (empty($fieldSpec['bao'])) {
continue;
}
$sortedOptions = $fieldSpec['bao']::buildOptions($fieldSpec['name'], NULL, [
'orderColumn' => CRM_Utils_Array::value('labelColumn', $pseudoConstantMetadata, 'label'),
]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment