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

(-)a/Koha/ILL/Request.pm (-4 / +4 lines)
Lines 484-498 sub load_backend { Link Here
484
    };
484
    };
485
485
486
    # Find plugin implementing the backend for the request
486
    # Find plugin implementing the backend for the request
487
    my $backend_plugin = $self->get_backend_plugin($backend_name);
487
    my $plugin = $self->get_backend_plugin($backend_name);
488
488
489
    if ( $backend_name eq 'Standard' ) {
489
    if ( $backend_name eq 'Standard' ) {
490
490
491
        # Load the Standard core backend
491
        # Load the Standard core backend
492
        $self->{_my_backend} = Koha::ILL::Backend::Standard->new($backend_params);
492
        $self->{_my_backend} = Koha::ILL::Backend::Standard->new($backend_params);
493
    } elsif ($backend_plugin) {
493
    } elsif ($plugin) {
494
494
495
        $self->{_my_backend} = $backend_plugin->new_ill_backend($backend_params);
495
        $self->{_my_backend} = $plugin->new_ill_backend($backend_params);
496
        $self->{plugin}      = $plugin;
496
    } elsif ($backend_name) {
497
    } elsif ($backend_name) {
497
498
498
        # Fallback to loading through backend_dir config
499
        # Fallback to loading through backend_dir config
499
- 

Return to bug 39092