Project

General

Profile

« Previous | Next » 

Revision 6aad9da8

Added by Andreas Kohlbecker over 7 years ago

fixing bugs in name rendering

View differences:

modules/cdm_dataportal/includes/name.inc
428 428
  if (isset($renderTemplate['secReferencePart'])){
429 429
    if(isset($secref_tagged_text[1])){
430 430
      $post_separator_markup = $is_reference_year ? '.': '';
431
      if(isset($nom_status_tagged_text[count($nom_status_tagged_text -1 )]) && $nom_status_tagged_text[count($nom_status_tagged_text -1 )]->type ==  'postSeparator'){
431
      if(isset($nom_status_tagged_text[count($nom_status_tagged_text) - 1]) && ($nom_status_tagged_text[count($nom_status_tagged_text) - 1]->type ==  'postSeparator')){
432 432
        $post_separator_markup = cdm_tagged_text_to_markup(array($nom_status_tagged_text[count($nom_status_tagged_text -1 )]));
433 433
      };
434 434
      array_setr('secReference',

Also available in: Unified diff