Revision 9bbe3bcd
Added by Andreas Kohlbecker almost 8 years ago
modules/cdm_dataportal/cdm_dataportal.search.php | ||
---|---|---|
508 | 508 |
// Split of geographic range. |
509 | 509 |
unset($form_params['areas']); |
510 | 510 |
|
511 |
$area_filter_preset = null; |
|
511 | 512 |
if (variable_get(CDM_SEARCH_AREA_FILTER_PRESET, '')) { |
512 | 513 |
$area_filter_preset = explode(',', variable_get(CDM_SEARCH_AREA_FILTER_PRESET, '')); |
513 | 514 |
} |
modules/cdm_dataportal/includes/taxon.inc | ||
---|---|---|
440 | 440 |
if (count($acceptedTaxa) == 1) { |
441 | 441 |
|
442 | 442 |
$acceptedTaxon = $acceptedTaxa[0]; |
443 |
$taxonUri = uri_to_synonym($taxon->uuid, $acceptedTaxon->uuid, 'synonymy');
|
|
443 |
$taxonUri = uri_to_synonym($taxon->uuid, $acceptedTaxon->uuid); |
|
444 | 444 |
$referenceUri = ''; |
445 | 445 |
if (isset($acceptedTaxon->name->nomenclaturalReference)) { |
446 | 446 |
$referenceUri = url(path_to_reference($acceptedTaxon->name->nomenclaturalReference->uuid)); |
Also available in: Unified diff
minor syntax issues