@@ -, +, @@ used --- Koha/Holds.pm | 2 +- t/db_dependent/Reserves/MultiplePerRecord.t | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) --- a/Koha/Holds.pm +++ a/Koha/Holds.pm @@ -77,7 +77,7 @@ sub forced_hold_level { my $record_level_count = $self->search( { itemnumber => undef } )->count(); return 'record' if $record_level_count > 0; - return undef; + return; } =head3 type --- a/t/db_dependent/Reserves/MultiplePerRecord.t +++ a/t/db_dependent/Reserves/MultiplePerRecord.t @@ -17,7 +17,6 @@ # You should have received a copy of the GNU General Public License # along with Koha; if not, see . -use Carp::Always; use Modern::Perl; use Test::More tests => 38; --