Revision 9d967078
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
SL/Controller/Reclamation.pm | ||
---|---|---|
1110 | 1110 |
sub init_type { |
1111 | 1111 |
my ($self) = @_; |
1112 | 1112 |
|
1113 |
my $type = $self->reclamation->record_type : $::form->{type};
|
|
1113 |
my $type = $self->reclamation->record_type; |
|
1114 | 1114 |
if (none { $type eq $_ } @{$self->valid_types}) { |
1115 | 1115 |
die "Not a valid type for reclamation"; |
1116 | 1116 |
} |
Auch abrufbar als: Unified diff
S:C:Reclamation: FIX: Syntax