Project

General

Profile

« Previous | Next » 

Revision a5b11885

Added by Patrick Plitzner over 5 years ago

ref #7686 show info for unset type status

View differences:

modules/cdm_dataportal/includes/occurrences.inc
64 64
        //typed taxa
65 65
        foreach ($specimen->types as $typeStatus => $typedTaxa) {
66 66
            if($specimen->types){
67
                $detail_html .= "<i>".$typeStatus."</i> of ";
67
                if($typeStatus == NULL){
68
                    $detail_html .= "<i>no type status set:</i> ";
69
                }
70
                else{
71
                    $detail_html .= "<i>".$typeStatus."</i> of ";
72
                }
68 73
                foreach($typedTaxa as $typedTaxon){
69 74
                    $detail_html .= $typedTaxon." ";
70 75
                }

Also available in: Unified diff