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

(-)a/Koha/ILL/Request.pm (-1 / +9 lines)
Lines 1196-1202 sub expand_template { Link Here
1196
        # Set files to load
1196
        # Set files to load
1197
        $params->{template}      = $template_name;
1197
        $params->{template}      = $template_name;
1198
        $params->{opac_template} = $template_name;
1198
        $params->{opac_template} = $template_name;
1199
    } elsif ( $params->{error}
1200
        && $params->{status} eq 'failed_captcha'
1201
        && C4::Context->preference("AutoILLBackendPriority") )
1202
    {
1203
        my $template_name = 'ill/backends/Standard/' . ( $params->{method} // q{} ) . '.inc';
1199
1204
1205
        # Set files to load
1206
        $params->{template}      = $template_name;
1207
        $params->{opac_template} = $template_name;
1208
        $params->{stage}         = 'form';
1200
    } else {
1209
    } else {
1201
        my $plugin = $self->get_backend_plugin( $self->_backend->name );
1210
        my $plugin = $self->get_backend_plugin( $self->_backend->name );
1202
1211
1203
- 

Return to bug 41478