From d9bda8b778217f517979096515dbfb60a8259e36 Mon Sep 17 00:00:00 2001 From: rangi Date: Thu, 15 Jan 2004 23:33:29 +0000 Subject: [PATCH] Fix for bug 605, committing here as well as the stable branch --- C4/Reserves2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Reserves2.pm b/C4/Reserves2.pm index e2f7576dab..75b39d4f60 100755 --- a/C4/Reserves2.pm +++ b/C4/Reserves2.pm @@ -452,7 +452,7 @@ sub CheckWaiting { AND reserves.found = 'W' AND cancellationdate is NULL"); $sth->execute($borr); - if (my $data=$sth->fetchrow_hashref) { + while (my $data=$sth->fetchrow_hashref) { push(@itemswaiting,$data); } $sth->finish; -- 2.39.2