View | Details | Raw Unified | Return to bug 24389
Collapse All | Expand All

(-)a/acqui/lateorders.pl (-4 / +3 lines)
Lines 111-122 if ($op and $op eq "send_alert"){ Link Here
111
        }
111
        }
112
    };
112
    };
113
113
114
    if ( $@ ) {
114
    if ( ref $err and exists $err->{error} and $err->{error} eq "no_email" ) {
115
        $template->param(error_claim => $@);
116
    } elsif ( ref $err and exists $err->{error} and $err->{error} eq "no_email" ) {
117
        $template->{VARS}->{'error_claim'} = "no_email";
115
        $template->{VARS}->{'error_claim'} = "no_email";
118
    } elsif ( ref $err and exists $err->{error} and $err->{error} eq "no_order_selected"){
116
    } elsif ( ref $err and exists $err->{error} and $err->{error} eq "no_order_selected"){
119
        $template->{VARS}->{'error_claim'} = "no_order_selected";
117
        $template->{VARS}->{'error_claim'} = "no_order_selected";
118
    } elsif ( $@ or ref $err and exists $err->{error} ) {
119
        $template->param(error_claim => $@ || $err->{error});
120
    } else {
120
    } else {
121
        $template->{VARS}->{'info_claim'} = 1;
121
        $template->{VARS}->{'info_claim'} = 1;
122
    }
122
    }
123
- 

Return to bug 24389