Revision e1e2d593
Added by Andreas Kohlbecker about 4 years ago
modules/cdm_dataportal/includes/name.inc | ||
---|---|---|
803 | 803 |
*/ |
804 | 804 |
function compose_name_type_designations($type_entity_refs){ |
805 | 805 |
$render_array = array(); |
806 |
$preferredStableUri = ''; |
|
806 | 807 |
foreach($type_entity_refs as $type_status => $name_type){ |
807 | 808 |
$type_designation = cdm_ws_get(CDM_TYPEDESIGNATION, array($name_type->uuid, 'preferredUri')); |
808 | 809 |
if(isset($type_designation->typeSpecimen->preferredStableUri) && $type_designation->typeSpecimen->preferredStableUri){ |
Also available in: Unified diff
proper initialization of variable