target_weight must evaluate to false by default, or will result in an infinite loop...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 28 Oct 2009 20:11:44 +0000 (20:11 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 28 Oct 2009 20:11:44 +0000 (20:11 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14655 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm

index d7858d2..4700a5c 100644 (file)
@@ -819,7 +819,7 @@ sub new_hold_copy_targeter {
 
        local $OpenILS::Application::Storage::WRITE = 1;
 
-       $self->{target_weight} = {};
+       $self->{target_weight} = 0;
 
        my $holds;