- Timestamp:
- 08/29/19 20:06:06 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Objects.pm
r2277 r2278 889 889 } 890 890 891 my $SubOtype = undef; 892 893 if (@{ $config->{SubOtype} || []}) { 894 $SubOtype = { map { $_ => 1 } @{ $config->{SubOtype} } }; 895 } 896 891 897 if (ref $self && $config->{recur}) { 892 898 my %subobj = $self->ListChildObjects; 893 899 foreach my $otype (sort keys %subobj) { 900 if ($SubOtype) { 901 $SubOtype->{$otype} or next; 902 } 894 903 foreach my $oname (sort @{ $subobj{$otype} }) { 895 904 my $obj = $self->base->get_object($otype, $oname) or next;
Note: See TracChangeset
for help on using the changeset viewer.