From 4892df5a0c876bd10e42d0ebdcb906cbe71168c1 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 18 Jan 2018 12:49:12 -0300 Subject: [PATCH] Bug 20001: Fix confusion between array and arrayref Illrequest->available_backends always returned only 1 element --- Koha/Illrequest.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Illrequest.pm b/Koha/Illrequest.pm index b6585c23ab..99b97bdbe4 100644 --- a/Koha/Illrequest.pm +++ b/Koha/Illrequest.pm @@ -478,8 +478,8 @@ Return a list of available backends. sub available_backends { my ( $self ) = @_; - my @backends = $self->_config->available_backends; - return \@backends; + my $backends = $self->_config->available_backends; + return $backends; } =head3 available_actions -- 2.11.0