Revision 3d14fdcf
Added by Andreas Kohlbecker over 4 years ago
modules/cdm_dataportal/includes/name.inc | ||
---|---|---|
1566 | 1566 |
if (count($synonymy_group) > 0) { |
1567 | 1567 |
$synonym = array_pop($synonymy_group); |
1568 | 1568 |
$type_designations = cdm_ws_get(CDM_WS_PORTAL_NAME_TYPEDESIGNATIONS_IN_HOMOTYPICAL_GROUP, $synonym->name->uuid); |
1569 |
}
|
|
1570 |
if($type_designations) {
|
|
1571 |
return $type_designations;
|
|
1569 |
if($type_designations) {
|
|
1570 |
return $type_designations;
|
|
1571 |
}
|
|
1572 | 1572 |
} |
1573 | 1573 |
return array(); |
1574 | 1574 |
} |
Also available in: Unified diff
ref #8415 avoiding uninitialized variable