From a26ce485efc2b8c8cede4af76b39ab1709e271e9 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Fri, 17 Feb 2012 09:23:53 +1300 Subject: [PATCH] Bug 7551 : Can only renew for the user you are logged in as now Signed-off-by: Owen Leonard Signed-off-by: Paul Poulain (cherry picked from commit 497f49d8b69e0be9e192b48bf40f2f5ab6cc92ce) Signed-off-by: Chris Nighswonger (cherry picked from commit fb666678a12559949f95b9ec8f09939ea0d57663) Signed-off-by: Chris Nighswonger --- opac/opac-renew.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-renew.pl b/opac/opac-renew.pl index 68abed04a8..0b2a85ffa8 100755 --- a/opac/opac-renew.pl +++ b/opac/opac-renew.pl @@ -41,7 +41,7 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( } ); my @items = $query->param('item'); -$borrowernumber = $query->param('borrowernumber') || $query->param('bornum'); + my $opacrenew = C4::Context->preference("OpacRenewalAllowed"); my $errorstring=''; -- 2.39.5