added small fix to UpdateReserve that fixes a bug coming from the calles from moremem...
authorfinlayt <finlayt>
Mon, 14 Oct 2002 04:22:25 +0000 (04:22 +0000)
committerfinlayt <finlayt>
Mon, 14 Oct 2002 04:22:25 +0000 (04:22 +0000)
C4/Reserves2.pm

index 26ca9b4..421142f 100755 (executable)
@@ -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()