Lines 354-360
if ((!$nok) and $nodouble and ($op eq 'insert' or $op eq 'save')){
Link Here
|
354 |
}; |
354 |
}; |
355 |
if ( $@ ) { |
355 |
if ( $@ ) { |
356 |
$template->param(error_alert => $@); |
356 |
$template->param(error_alert => $@); |
357 |
} elsif ( defined $err->{error} and $err->{error} eq "no_email" ) { |
357 |
} elsif ( ref($err) eq "HASH" && defined $err->{error} and $err->{error} eq "no_email" ) { |
358 |
$template->{VARS}->{'error_alert'} = "no_email"; |
358 |
$template->{VARS}->{'error_alert'} = "no_email"; |
359 |
} else { |
359 |
} else { |
360 |
$template->{VARS}->{'info_alert'} = 1; |
360 |
$template->{VARS}->{'info_alert'} = 1; |
361 |
- |
|
|