Project

General

Profile

« Previous | Next » 

Revision 54127ad4

Added by Andreas Kohlbecker almost 3 years ago

ref #9674 triming description_element->multilanguageText

View differences:

modules/cdm_dataportal/cdm_dataportal.module
1680 1680
function cdm_dataportal_taxon_page_view($uuid, $chapter = 'all') {
1681 1681

  
1682 1682
  cdm_check_valid_taxon_page($chapter);
1683

  
1683 1684
  cdm_dd("START OF TAXON PAGE [" . $chapter . "] " . $uuid . ' for ' . $_GET['q']);
1684 1685

  
1685 1686

  
modules/cdm_dataportal/includes/name.inc
535 535
                  ]
536 536
                );
537 537
                if (isset($description_element->feature) && $description_element->feature->uuid == UUID_ADDITIONAL_PUBLICATION) {
538
                   $additional_citations[] = ' [& ' . $description_element->multilanguageText_L10n->text . $element_media . $annotations_and_sources->footNoteKeysMarkup() .']';
538
                   $additional_citations[] = ' [& ' . trim($description_element->multilanguageText_L10n->text) . $element_media . $annotations_and_sources->footNoteKeysMarkup() .']';
539 539
                } else {
540
                  $additional_data[] = ' [' . $description_element->multilanguageText_L10n->text . $element_media . $annotations_and_sources->footNoteKeysMarkup() .']';
540
                  $additional_data[] = ' [' . trim($description_element->multilanguageText_L10n->text) . $element_media . $annotations_and_sources->footNoteKeysMarkup(). ']';
541 541
                }
542 542
              }
543 543
            }

Also available in: Unified diff