From: erickson Date: Wed, 3 Jun 2009 15:53:50 +0000 (+0000) Subject: silence 'uninitialized value in hash element' warnings X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e8c447709ca642a63f3f034d894d9a19bf175c73;p=Evergreen.git silence 'uninitialized value in hash element' warnings git-svn-id: svn://svn.open-ils.org/ILS/trunk@13303 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm b/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm index 43a925a483..df479741dc 100644 --- a/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm @@ -197,7 +197,7 @@ sub session { $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}; }