[Koha-bugs] [Bug 7317] Add an Interlibrary Loan Module to Circulation and OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 15 15:33:44 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7317

--- Comment #51 from Alex Sassmannshausen <alex.sassmannshausen at ptfs-europe.com> ---
(In reply to Magnus Enger from comment #49)
> +sub available_backends {
> +    my ( $self ) = @_;
> +    my $backend_dir = $self->_config->backend_dir;
> +    my @backends = ();
> +    my @backends = <$backend_dir/*> if ( $backend_dir );
> +    my @backends = map { basename($_) } @backends;
> +    return \@backends;
> +}
> 
> This gives a warning: "my" variable @backends masks earlier declaration in
> same scope at /path/to/Koha/Illrequest.pm line 375.

Thanks for the report, should be fixed with the latest patch!

Alex

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list