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

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Dec 14 17:04:18 EST 2009


Author: erickson
Date: 2009-12-14 17:04:13 -0500 (Mon, 14 Dec 2009)
New Revision: 15163

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Event.pm
Log:
prevent uninitialized value in hash element warnings.  Thaanks for the heads up, Joe A.

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Event.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Event.pm	2009-12-14 21:34:26 UTC (rev 15162)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Event.pm	2009-12-14 22:04:13 UTC (rev 15163)
@@ -44,7 +44,7 @@
 		ilsevent		=> $e, 
 		textcode		=> $event, 
 		stacktrace	=> "$f:$l $ff:$ll $fff:$lll", 
-		desc			=> $descs->{$lang}->{$e} || '',
+		desc			=> $descs->{$lang}->{$e || ''} || '',
 		servertime	=> $t,
 		pid			=> $$, %params };
 }



More information about the open-ils-commits mailing list