Revision 0dd9be37
Added by Patrick Plitzner over 5 years ago
modules/cdm_dataportal/includes/occurrences.inc | ||
---|---|---|
64 | 64 |
//typed taxa |
65 | 65 |
foreach ($specimen->types as $typeStatus => $typedTaxa) { |
66 | 66 |
if($specimen->types){ |
67 |
if(empty($typeStatus)){
|
|
67 |
if(!isset($typeStatus) || trim($typeStatus) === ''){
|
|
68 | 68 |
$detail_html .= "<i>no type status set:</i> "; |
69 | 69 |
} |
70 | 70 |
else{ |
Also available in: Unified diff
ref #7686 Fix check for empty string