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

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

Return to bug 41478