added small fix to UpdateReserve that fixes a bug coming from the calles from moremember.pl

This commit is contained in:
finlayt 2002-10-14 04:22:25 +00:00
parent 651f7d9eb7
commit 6800d04813
1 changed files with 1 additions and 0 deletions

View File

@ -725,6 +725,7 @@ sub UpdateReserve {
#subroutine to update a reserve
my ($rank,$biblio,$borrower,$branch)=@_;
return if $rank eq "W";
return if $rank eq "n";
my $dbh = C4::Context->dbh;
if ($rank eq "del") {
my $query = "UPDATE reserves SET cancellationdate=now()