From: erickson Date: Mon, 17 Jul 2006 13:08:11 +0000 (+0000) Subject: sanity checking the hold request X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0be699ce5dd9e0dbf6e65fa471d5bb1f8c80179d;p=Evergreen.git sanity checking the hold request git-svn-id: svn://svn.open-ils.org/ILS/trunk@5034 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm b/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm index 08bf36a5d8..3e98d46fa8 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm @@ -1637,7 +1637,7 @@ sub hold_request_count { my @ready; for my $h (@$holds) { - next unless $h->capture_time; + next unless $h->capture_time and $h->current_copy; my $copy = $apputils->simple_scalar_request( "open-ils.cstore",