From: erickson Date: Wed, 3 Jun 2009 15:53:08 +0000 (+0000) Subject: silence 'uninitialized value in hash element' warnings X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cf2caeefd36ce1a29f238c026cee0c786c8ece0a;p=Evergreen.git silence 'uninitialized value in hash element' warnings git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4_0@13301 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 fd7a95caa5..2c9c2b582b 100644 --- a/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm @@ -190,7 +190,7 @@ sub session { $self->xact_start 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}; }