Bug 7551 : Can only renew for the user you are logged in as now
authorChris Cormack <chrisc@catalyst.net.nz>
Thu, 16 Feb 2012 20:23:53 +0000 (09:23 +1300)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 17 Feb 2012 08:12:21 +0000 (09:12 +0100)
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
opac/opac-renew.pl

index dd3dcf2..c699b35 100755 (executable)
@@ -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='';