Project

General

Profile

Revision bac37a8f

IDbac37a8ff94a57a215b1bd29e1ca59cc40fa0390
Parent 44d445c0
Child 31b96b91

Added by Andreas Kohlbecker about 7 years ago

avoiding php Notices

View differences:

7.x/modules/cdm_dataportal/theme/cdm_dataportal.descriptions.theme
144 144
                switch ($element->class) {
145 145
                  case 'TextData':
146 146
                    // FIXME use theme_cdm_descriptionElementTextData()
147
                    $out_child_elements = str_replace("\n", "<br/>", $element->multilanguageText_L10n->text);
147
                    if(isset($element->multilanguageText_L10n->text)){
148
                      $out_child_elements = str_replace("\n", "<br/>", $element->multilanguageText_L10n->text);
149
                    }
148 150
                    $out_child_elements = str_replace($child->feature->titleCache, '<em>' . $child->feature->representation_L10n . '</em>', $out_child_elements);
149 151
                    break;
150 152
                  case 'CategoricalData':
......
677 679
   *        the name in source string are deduplicated
678 680
   *        !!!NOTE!!!!: this field will most probably be removed soon (TODO)
679 681
   *
680
   * 
682
   *
681 683
   */
682 684
  function handle_annotations_and_sources($element, $do_references_inline, $feature_block_settings, $element_text, $footnote_list_key_suggestion) {
683 685
    $annotations_and_sources = array(

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)