open-ils.storage_stderr.log was getting filled with entries like:
"Use of uninitialized value in concatenation (.) or string at
/usr/local/share/perl/5.10.1/OpenILS/Application/Storage/Publisher/action.pm"
... consuming disk space endlessly. Stop that!
(Stealing Lebbeous' footwork and providing a slightly different solution.)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
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;