From df49bab9ee32ff595f11276aaea304e1e2c09d9d Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Fri, 17 Feb 2012 09:23:53 +1300 Subject: [PATCH] [SIGNED-OFF] Bug 7551 : Can only renew for the user you are logged in as now Content-Type: text/plain; charset="utf-8" Signed-off-by: Owen Leonard --- opac/opac-renew.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/opac/opac-renew.pl b/opac/opac-renew.pl index dd3dcf2..c699b35 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=''; -- 1.7.3