Revision cf58d709
Added by Andreas Müller almost 2 years ago
modules/cdm_dataportal/includes/name.inc | ||
---|---|---|
679 | 679 |
} |
680 | 680 |
|
681 | 681 |
// typedesignation in detail |
682 |
if(is_object($registration_dto->orderedTypeDesignationWorkingSets)) {
|
|
682 |
if(is_object($registration_dto->orderedTypeDesignationSets)) { |
|
683 | 683 |
$field_unit_uuids = array(); |
684 | 684 |
$specimen_type_designation_refs = array(); |
685 | 685 |
$name_type_designation_refs = array(); |
686 |
foreach ((array)$registration_dto->orderedTypeDesignationWorkingSets as $workingset_ref => $obj) {
|
|
686 |
foreach ((array)$registration_dto->orderedTypeDesignationSets as $workingset_ref => $obj) { |
|
687 | 687 |
$tokens = explode("#", $workingset_ref); |
688 | 688 |
$types_in_fieldunit = get_object_vars($obj); // convert into associative array |
689 | 689 |
|
... | ... | |
1926 | 1926 |
unset($reg_type_labels["taxon"]); |
1927 | 1927 |
} |
1928 | 1928 |
} |
1929 |
if(isset($registration_dto->orderedTypeDesignationWorkingSets)){
|
|
1929 |
if(isset($registration_dto->orderedTypeDesignationSets)){ |
|
1930 | 1930 |
$reg_type_labels[] = t("new nomenclatural type"); |
1931 | 1931 |
} |
1932 | 1932 |
return $reg_type_labels; |
Also available in: Unified diff
ref #10089 rename TypeDesignationWorkingSet in dataportal