From 0fbf1c57a24005a518d553c4b6de5669453c8aa8 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 11 Jun 2010 18:39:13 +0000 Subject: [PATCH] $e may false (i.e. 0=SUCCESS). it's undefined we need to avoid git-svn-id: svn://svn.open-ils.org/ILS/trunk@16686 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Event.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Event.pm b/Open-ILS/src/perlmods/OpenILS/Event.pm index 64837b001..805859d41 100644 --- a/Open-ILS/src/perlmods/OpenILS/Event.pm +++ b/Open-ILS/src/perlmods/OpenILS/Event.pm @@ -23,7 +23,8 @@ sub new { _load_events() unless $events; throw OpenSRF::EX ("Bad event name: $event") unless $event; - my $e = $events->{$event} || ''; + my $e = $events->{$event}; + $e = '' unless defined $e; my( $m, $f, $l ) = caller(0); my( $mm, $ff, $ll ) = caller(1); -- 2.11.0