From: erickson Date: Fri, 11 Jun 2010 18:39:13 +0000 (+0000) Subject: $e may false (i.e. 0=SUCCESS). it's undefined we need to avoid X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0fbf1c57a24005a518d553c4b6de5669453c8aa8;p=evergreen%2Fbjwebb.git $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 --- 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);