Project

General

Profile

« Previous | Next » 

Revision b41e0633

Added by Katja Luther about 1 year ago

ref #10222: fix problems with footnodes

View differences:

modules/cdm_dataportal/includes/descriptions.inc
718 718

  
719 719
            if(!$block_content_is_empty){ // skip empty block content
720 720
                $block_list[$block_weight] = $block;
721
                cdm_toc_list_add_item(cdm_term_representation($feature_node->term), $feature_node->term->uuid, null, FALSE, $block_weight);
721
                cdm_toc_list_add_item(cdm_term_representation($feature_node->label), $feature_node->uuid, null, FALSE, $block_weight);
722 722
            } // END: skip empty block content
723 723
        } // END: skip empty or suppressed features
724 724
        RenderHints::popFromRenderStack();
......
1681 1681
     */
1682 1682
    $feature_block_has_content = false;
1683 1683

  
1684
    if (is_array($description_elements)) {
1685
        foreach ($description_elements as $description_element) {
1684
    if (is_array($description_elements -> items)) {
1685
        foreach ($description_elements-> items as $description_element) {
1686 1686
            /* decide based on the description element class
1687 1687
             *
1688 1688
             * Features handled here:

Also available in: Unified diff