Project

General

Profile

Revision 76c5c9b7

ID76c5c9b72c737aa3c1a1d7fa196688f64a52f7a7
Parent a5b11885
Child 0dd9be37

Added by Patrick Plitzner about 3 years ago

ref #7686 Fix check for empty string

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
                if($typeStatus == NULL){
67
                if(empty($typeStatus)){
68 68
                    $detail_html .= "<i>no type status set:</i> ";
69 69
                }
70 70
                else{

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)