[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:07:34 CEST 2017


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

--- Comment #49 from Magnus Enger <magnus at libriotech.no> ---
+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.

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


More information about the Koha-bugs mailing list