From 7ff2c3330e18914de11730a986df2baf60761ecb Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 14 Dec 2009 22:04:13 +0000 Subject: [PATCH] prevent uninitialized value in hash element warnings. Thaanks for the heads up, Joe A. git-svn-id: svn://svn.open-ils.org/ILS/trunk@15163 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Event.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Event.pm b/Open-ILS/src/perlmods/OpenILS/Event.pm index b33cd80de6..59d6e03dc5 100644 --- a/Open-ILS/src/perlmods/OpenILS/Event.pm +++ b/Open-ILS/src/perlmods/OpenILS/Event.pm @@ -44,7 +44,7 @@ sub new { ilsevent => $e, textcode => $event, stacktrace => "$f:$l $ff:$ll $fff:$lll", - desc => $descs->{$lang}->{$e} || '', + desc => $descs->{$lang}->{$e || ''} || '', servertime => $t, pid => $$, %params }; } -- 2.11.0