prevent uninitialized value in hash element warnings. Thaanks for the heads up,...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 14 Dec 2009 22:04:13 +0000 (22:04 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 14 Dec 2009 22:04:13 +0000 (22:04 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15163 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Event.pm

index b33cd80..59d6e03 100644 (file)
@@ -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 };
 }