From 6800d04813de4fb6bc77386d63ec2b05799e91b7 Mon Sep 17 00:00:00 2001 From: finlayt Date: Mon, 14 Oct 2002 04:22:25 +0000 Subject: [PATCH] added small fix to UpdateReserve that fixes a bug coming from the calles from moremember.pl --- C4/Reserves2.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Reserves2.pm b/C4/Reserves2.pm index 26ca9b4769..421142fe49 100755 --- a/C4/Reserves2.pm +++ b/C4/Reserves2.pm @@ -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() -- 2.39.5