From 44606fe8f8bcfed4359c1f92ed9cce7507c84f8f Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 16 Jul 2012 16:56:10 -0400 Subject: [PATCH] Squelch useless warning that winds up in open-ils.storage_stderr.log ... consuming disk space endlessly. (Stealing Lebbeous' footwork and providing a slightly different solution.) Signed-off-by: Bill Erickson --- .../src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm index 7c07e6f188..ada8dc4df2 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm @@ -1285,7 +1285,7 @@ sub new_hold_copy_targeter { my @good_copies; for my $c (@$all_copies) { # current target - next if ($c->id eq $hold->current_copy); + next if ($hold->current_copy and $c->id eq $hold->current_copy); # skip on circ lib is closed IFF we care my $ignore_closing; -- 2.11.0