From 6b75e5b4783cff1d14816ce363e8095569d67718 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 30 Mar 2017 21:51:28 -0300 Subject: [PATCH] Bug 18349: $borrower is a hashref I guess this code was never called before... Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall --- opac/sco/sco-main.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/sco/sco-main.pl b/opac/sco/sco-main.pl index 0486dd43b7..d2091506e4 100755 --- a/opac/sco/sco-main.pl +++ b/opac/sco/sco-main.pl @@ -174,7 +174,7 @@ elsif ( $op eq "checkout" ) { } elsif ( $needconfirm->{RENEW_ISSUE} ) { if ($confirmed) { #warn "renewing"; - AddRenewal( $borrower, $item->{itemnumber} ); + AddRenewal( $borrower->{borrowernumber}, $item->{itemnumber} ); } else { #warn "renew confirmation"; $template->param( -- 2.39.5