From 00d375b26543ab4a55acf695705f886fa1de6cce 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 Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize --- 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.39.5