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

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

Return to bug 24389