Project

General

Profile

« Previous | Next » 

Revision 791e1c94

Added by Andreas Kohlbecker over 10 years ago

fixing #2877 (microreference not shown in distribution references (sources))

View differences:

5.x/modules/cdm_dataportal/theme/cdm_dataportal.name.theme
591 591
			if(isset($renderTemplate['referencePart']['microreference'])){
592 592
				$microreference = $taxonName->nomenclaturalMicroReference;
593 593
			}
594
			$citation = cdm_ws_get(CDM_WS_NOMENCLATURAL_REFERENCE_CITATION, array($taxonName->nomenclaturalReference->uuid), "microReference=".urlencode($microreference));
595
			$citation = $citation->String;
594
			$citation = cdm_ws_getNomenclaturalReference($taxonName->nomenclaturalReference->uuid, $microreference);
596 595
			// find preceding element of the refrence
597 596
			$precedingKey = get_preceding_contentElementKey('reference', $renderTemplate);
598 597
			if(str_beginsWith($citation, ", in")){

Also available in: Unified diff