Project

General

Profile

« Previous | Next » 

Revision f00c6f98

Added by Andreas Kohlbecker over 3 years ago

ref #9279 adapting class attribute handling to TypeDesignationDTO

View differences:

modules/cdm_dataportal/includes/taxon.inc
508 508
    $taxonRelations = cdm_ws_get(CDM_WS_PORTAL_TAXON_RELATIONS, array(
509 509
      $relatedUuid,
510 510
    ));
511
    foreach ($taxonRelations as $relation) {
512
      if ($relation->type->uuid == UUID_MISAPPLIED_NAME_FOR && _cdm_dataportal_acceptedByCurrentView($relation->toTaxon)) {
513
        $table_of_accepted[$relatedUuid][] = $relation->toTaxon;
511
    if($taxonRelations){
512
      foreach ($taxonRelations as $relation) {
513
        if ($relation->type->uuid == UUID_MISAPPLIED_NAME_FOR && _cdm_dataportal_acceptedByCurrentView($relation->toTaxon)) {
514
          $table_of_accepted[$relatedUuid][] = $relation->toTaxon;
515
        }
514 516
      }
515 517
    }
516 518
  }

Also available in: Unified diff