Project

General

Profile

« Previous | Next » 

Revision 15f11e83

Added by Francisco Revilla almost 14 years ago

solving bug with taxon name page (related with drupal_go_to and synonyms/acceptedtaxon)

View differences:

modules/cdm_dataportal/theme/cdm_dataportal.taxon.theme
82 82
		if(true || $taxonRelation->type->uuid == UUID_MISAPPLIED_NAME_FOR || $taxonRelation->type->uuid == UUID_INVALID_DESIGNATION_FOR ){
83 83

  
84 84
			$name = $taxonRelation->fromTaxon->name->titleCache;
85

  
85 86
			$author_team = cdm_ws_get(CDM_WS_REFERENCE_AUTHORTEAM, $taxonRelation->fromTaxon->sec->uuid);
86 87
			$authorteam = $author_team->titleCache;
87 88

  
......
253 254
    switch ($element->type->representation_L10n){
254 255
      case 'later homonym for':
255 256
        $later_homonym = ' [non ' . l($element->fromName->titleCache . ']', 
256
                                     'cdm_dataportal/name/' . $element->fromName->uuid);
257
                                     'cdm_dataportal/name/' . $element->fromName->uuid . '/' . $taxon->uuid);
257 258
        break;
258 259
    case 'treated as later homonym for':
259 260
        $later_homonym = ' [non ' . l($element->fromName->titleCache . ']', 

Also available in: Unified diff