Skip to content

Commit

Permalink
Merge branch 'feature-DATAAPI-34_rendering-empty-non-simple-values' i…
Browse files Browse the repository at this point in the history
…nto hotfix-3.5.15
  • Loading branch information
DominicWatson committed Oct 30, 2024
2 parents 7a56a0c + 740d735 commit 736cf35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/DataApiService.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ component {
if ( $getContentRendererService().rendererExists( renderer, "dataapi" ) ) {
try {
var renderedContent = $renderContent( renderer, arguments.value, "dataapi", arguments.fieldSettings );
if ( Len( renderedContent ?: "" ) ) {
if ( !IsSimpleValue( renderedContent ) || Len( renderedContent ?: "" ) ) {
return renderedContent;
}
} catch( any e ) {
Expand Down

0 comments on commit 736cf35

Please sign in to comment.