Project

General

Profile

Revision 1b8afcd8

ID1b8afcd8a32c2b22943a7ebdbd6dc1df8248e2b1
Parent ddc8c754
Child e5bbcdba

Added by Andreas Kohlbecker over 5 years ago

#5768 taxonBase secundum microreference implemented

View differences:

modules/cdm_dataportal/cdm_api/cdm_api.module
310 310
        $extracted_tt[1] = $tagged_text[$i + 1];
311 311
        unset($tagged_text[$i]);
312 312
        unset($tagged_text[$i + 1]);
313
        // also get the microfererence which could be in $tagged_text[$i + 3]
314
        if(isset($tagged_text[$i + 3])  && $tagged_text[$i + 2]->type == "separator" && $tagged_text[$i + 3]->type == "secReference"){
315
          $extracted_tt[2] = $tagged_text[$i + 2];
316
          $extracted_tt[3] = $tagged_text[$i + 3];
317
        }
313 318
        break;
314 319
      }
315 320
    }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)