Fix for bug 605, committing here as well as the stable branch

This commit is contained in:
rangi 2004-01-15 23:33:29 +00:00
parent 42fc984a50
commit d9bda8b778

View file

@ -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;