From 497f49d8b69e0be9e192b48bf40f2f5ab6cc92ce 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 --- 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 dd3dcf2ce5..c699b359df 100755 --- a/opac/opac-renew.pl +++ b/opac/opac-renew.pl @@ -42,7 +42,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