[open-ils-commits] r13303 - trunk/Open-ILS/src/perlmods/OpenILS/Utils (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Jun 3 11:53:52 EDT 2009


Author: erickson
Date: 2009-06-03 11:53:50 -0400 (Wed, 03 Jun 2009)
New Revision: 13303

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm
Log:
silence 'uninitialized value in hash element' warnings

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm	2009-06-03 15:53:43 UTC (rev 13302)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm	2009-06-03 15:53:50 UTC (rev 13303)
@@ -197,7 +197,7 @@
 		$self->xact_begin if $self->{xact} or $always_xact;
 	}
 
-    $xact_ed_cache{$self->{xact_id}} = $self if $always_xact;
+    $xact_ed_cache{$self->{xact_id}} = $self if $always_xact and $self->{xact_id};
 	return $self->{session};
 }
 



More information about the open-ils-commits mailing list