Project

General

Profile

« Previous | Next » 

Revision 8bc96896

Added by Andreas Kohlbecker over 3 years ago

Revert "ref #9265 getting citationDetail from NomenclaturalSource"

This reverts commit d5de0b1f6ed6901d71ccdb8a5a9b44805f907bf0.

View differences:

modules/cdm_dataportal/includes/name.inc
413 413
    if (isset($renderTemplate['referencePart']['reference'])) {
414 414
      if(count($nomref_tagged_text) == 0 && isset($taxon_name->nomenclaturalSource->nomenclaturalCitation)){
415 415
        $citation = $taxon_name->nomenclaturalSource->nomenclaturalCitation;
416
      if(count($nomref_tagged_text) == 0 && isset($taxon_name->nomenclaturalSource->citation)){
417
        // TODO is this case still relevant? The tagged text should already contain all information!
418
        $citation = cdm_ws_getNomenclaturalReference($taxon_name->nomenclaturalSource->citation->uuid, $microreference);
416 419
        // Find preceding element of the reference.
417 420
        $precedingKey = get_preceding_contentElementKey('reference', $renderTemplate);
418 421
        if (str_beginsWith($citation, ", in")) {

Also available in: Unified diff