Changeset 2359
- Timestamp:
- 05/26/20 18:00:56 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/OCHelper.pm
r2286 r2359 69 69 sub step { 70 70 my ($self, $info) = @_; 71 my $otype = $self->otype; 71 72 $info ||= {}; 72 73 $info->{step} ||= 0; 73 74 $info->{ask} = []; 75 76 push(@{ $info->{ask} }, 'template') unless ( $otype eq 'templates' ); 77 74 78 $info->{name}{ask} = 0; 75 my $otype = $self->otype;76 79 foreach (keys %{ $self->base->{defattr} || {} }) { 77 80 /^$otype\.(.*)/ or next; … … 95 98 foreach ($self->base->list_canonical_fields($self->otype, 'w')) { 96 99 /^oalias$/ and next; 100 /^template$/ and next; 97 101 push(@{$info->{ask}}, $_); 98 102 }
Note: See TracChangeset
for help on using the changeset viewer.