[open-ils-commits] r14655 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Oct 28 16:11:49 EDT 2009


Author: erickson
Date: 2009-10-28 16:11:44 -0400 (Wed, 28 Oct 2009)
New Revision: 14655

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
Log:
target_weight must evaluate to false by default, or will result in an infinite loop caused by (1..{})

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm	2009-10-28 19:52:58 UTC (rev 14654)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm	2009-10-28 20:11:44 UTC (rev 14655)
@@ -819,7 +819,7 @@
 
 	local $OpenILS::Application::Storage::WRITE = 1;
 
-	$self->{target_weight} = {};
+	$self->{target_weight} = 0;
 
 	my $holds;
 



More information about the open-ils-commits mailing list