Revision af68bbe0
Added by Andreas Kohlbecker over 2 years ago
modules/cdm_dataportal/includes/name.inc | ||
---|---|---|
415 | 415 |
$microreference = $taxon_name->nomenclaturalSource->citationMicroReference; |
416 | 416 |
if(count($nomref_tagged_text) == 0 && isset($taxon_name->nomenclaturalSource->citation)){ |
417 | 417 |
// TODO is this case still relevant? The tagged text should already contain all information! |
418 |
drupal_set_message("reference/$0/nomenclaturalCitation' must no longer be used (type: " |
|
419 |
. $taxon_name_or_taxon_base->class . (isset($taxon_name_or_taxon_base->type) ? " - " +$taxon_name_or_taxon_base->type : "" . ")"), "error"); |
|
418 | 420 |
$citation = cdm_ws_getNomenclaturalReference($taxon_name->nomenclaturalSource->citation->uuid, $microreference); |
419 | 421 |
// Find preceding element of the reference. |
420 | 422 |
$precedingKey = get_preceding_contentElementKey('reference', $renderTemplate); |
Also available in: Unified diff
ref #9599 better error reporting