From: erickson Date: Wed, 28 Oct 2009 20:11:44 +0000 (+0000) Subject: target_weight must evaluate to false by default, or will result in an infinite loop... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3ac3704b5f90a280ef50a4d88a41eb6cfb4d0305;p=contrib%2FConifer.git target_weight must evaluate to false by default, or will result in an infinite loop caused by (1..{}) git-svn-id: svn://svn.open-ils.org/ILS/trunk@14655 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm index d7858d2604..4700a5c23b 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm @@ -819,7 +819,7 @@ sub new_hold_copy_targeter { local $OpenILS::Application::Storage::WRITE = 1; - $self->{target_weight} = {}; + $self->{target_weight} = 0; my $holds;