Revision e0613197
Added by Andreas Kohlbecker over 7 years ago
modules/cdm_dataportal/includes/pages.inc | ||
---|---|---|
90 | 90 |
if (count($specimensOrObservations) > 0) { |
91 | 91 |
$occurrence_queryDto = cdm_ws_get(CDM_WS_GEOSERVICE_OCCURRENCEMAP, $taxon->uuid, $by_associatedtaxon_query); |
92 | 92 |
|
93 |
if(variable_get(SPECIMEN_MAP_VISIBILITY) == 'always' || |
|
94 |
variable_get(SPECIMEN_MAP_VISIBILITY) == 'automatic' && |
|
93 |
$map_visibility = variable_get(SPECIMEN_MAP_VISIBILITY, SPECIMEN_MAP_VISIBILITY_DEFAULT); |
|
94 |
if($map_visibility == 'always' || |
|
95 |
variable_get(SPECIMEN_MAP_VISIBILITY, SPECIMEN_MAP_VISIBILITY_DEFAULT) == 'automatic' && |
|
95 | 96 |
(isset($occurrence_queryDto->fieldUnitPoints[0]) || isset($occurrence_queryDto->derivedUnitPoints[0])) |
96 | 97 |
) |
97 | 98 |
{ |
Also available in: Unified diff
fix #3650 visibility of distribution and specimen maps configurable - bug fix