From 2b72bb1c367ef14917b34817a1e47e1811aa5cbf Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 8 Jun 2020 15:50:09 +0100 Subject: [PATCH] Bug 23091: (QA follow-up) Fix unblessed item issue As highlighted by Andrew, the introduced call to _CalculateAndUpdateFine was passing a full item object instead of an unblessed hashref. --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index c0bdbd1b23..7bf930ee0b 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2063,7 +2063,7 @@ sub AddReturn { _CalculateAndUpdateFine( { issue => $issue, - item => $item, + item => $item->unblessed, borrower => $patron_unblessed, return_date => $return_date } -- 2.20.1