Project

General

Profile

« Previous | Next » 

Revision e5f17100

Added by Andreas Kohlbecker about 7 years ago

fix #6431 fixing extlinks for genus pages

View differences:

modules/cdm_dataportal/ext_links/ext_links.module
389 389
          $speciesName = getSpeciesName($taxon);
390 390

  
391 391
          $genus = $taxon->name->taggedName[0]->text;
392
          $species = $taxon->name->taggedName[1]->text;
392
          $species = null;
393
          if(isset($taxon->name->taggedName[1])){
394
            $species = $taxon->name->taggedName[1]->text;
395
          }
393 396
          $block_content = '';
394 397
          $listOption = variable_get("ext_links_options", 0);
395 398
          if (isset($listOption)) {

Also available in: Unified diff