Project

General

Profile

Revision eafb60f0

IDeafb60f08b76e3b1ecd17f5335e27d44c92dc059
Parent be02a7ab
Child 3eae339f, 74dcb4d4

Added by Andreas Kohlbecker over 2 years ago

fix #7417 defaults for TAXON_RELATIONSHIP_TYPES - bugfix

View differences:

modules/cdm_dataportal/cdm_dataportal.install
455 455
    UUID_PROPARTE_SYNONYM_FOR,
456 456
    UUID_PARTIAL_SYNONYM_FOR
457 457
  );
458
  $taxonRelTypes = variable_get(CDM_TAXON_RELATIONSHIP_TYPES);
458
  $taxonRelTypes = variable_get(CDM_TAXON_RELATIONSHIP_TYPES, unserialize(CDM_TAXON_RELATIONSHIP_TYPES_DEFAULT));
459 459
  foreach($new_defaults as $default_uuid){
460 460
    $taxonRelTypes[$default_uuid] = $default_uuid;
461 461
  }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)