From 82cc501a01837835fe08085f69e3f876f88ba365 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Sun, 6 Jan 2008 15:30:38 -0600 Subject: [PATCH] Fix for bug 1740, opac reserves Signed-off-by: Joshua Ferraro --- opac/opac-reserve.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index 98fa43ff1f..281641ea70 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -279,7 +279,7 @@ else { $template->param( too_many_reserves => scalar($reserves)); } foreach my $res (@$reserves) { - if ( $res->{'biblionumber'} == $biblionumber ) { + if ( $res->{'biblionumber'} == $biblionumber && $res->{'borrowernumber'} == $borrowernumber) { $template->param( message => 1 ); $noreserves = 1; $template->param( already_reserved => 1 ); -- 2.39.5