Revision caab0bd2
Added by Andreas Kohlbecker about 7 years ago
modules/cdm_dataportal/includes/descriptions.inc | ||
---|---|---|
485 | 485 |
} |
486 | 486 |
$content_markup = $names_used_in_source_markup . $element_markup . $source_references_markup; |
487 | 487 |
|
488 |
if(!$content_markup && $feature_block_settings['sources_as_content'] !== 1 || $feature_block_settings['sources_as_content_to_bibliography'] == 1){
|
|
489 |
// no textual content, so skip this element completely, even if there could be an footnote key
|
|
488 |
if(!$content_markup && $feature_block_settings['sources_as_content'] !== 1){ |
|
489 |
// no textual content? So skip this element completely, even if there could be an footnote key
|
|
490 | 490 |
// see #4379 |
491 | 491 |
return null; |
492 | 492 |
} |
Also available in: Unified diff
fix #6397 ref #4379 fixing empty feature block content detection