Project

General

Profile

« Previous | Next » 

Revision ed49ab94

Added by Tamino Steinert over 1 year ago

S:C:Reclamation: FIX: Syntax

View differences:

SL/Controller/Reclamation.pm
sub init_type {
my ($self) = @_;
my $type = $self->reclamation->record_type : $::form->{type};
my $type = $self->reclamation->record_type;
if (none { $type eq $_ } @{$self->valid_types}) {
die "Not a valid type for reclamation";
}

Also available in: Unified diff