From 3e13ed17fcaeb51ca84d30f902e189d9a0aa726b Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Tue, 7 Jan 2020 10:16:58 +0000 Subject: [PATCH] Bug 23112: (follow-up) Fix test as per feedback As per comment #48 https://bugs.koha-community.org/show_bug.cgi?id=23113 --- Koha/Illrequest.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Illrequest.pm b/Koha/Illrequest.pm index a0c9402322..e81997f8ce 100644 --- a/Koha/Illrequest.pm +++ b/Koha/Illrequest.pm @@ -1222,7 +1222,7 @@ sub check_out { $issue_args[0] = $patron->unblessed; my $issue = C4::Circulation::AddIssue(@issue_args); - if ($issue && %{$issue}) { + if ($issue) { # Update the request status $self->status('CHK')->store; return { -- 2.11.0