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

--- Comment #49 from Magnus Enger <[email protected]> ---
+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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to