From: ivan Date: Tue, 15 Sep 2009 19:45:38 +0000 (+0000) Subject: eliminate "Use of uninitialized value in undef operator at /etc/freeside/handler... X-Git-Tag: root_of_svc_elec_features~864 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=bbc003b77d2070f53a29a84cccce530f01db691e;ds=sidebyside eliminate "Use of uninitialized value in undef operator at /etc/freeside/handler.pl line 79/80" errors --- diff --git a/htetc/handler.pl b/htetc/handler.pl index 4ce658685..952d6203b 100644 --- a/htetc/handler.pl +++ b/htetc/handler.pl @@ -76,8 +76,8 @@ sub handler RT::Init() if $RT::VERSION; #for lack of something else #we don't want the RT error handlers under FS - undef $SIG{__WARN__}; - undef $SIG{__DIE__}; + undef $SIG{__WARN__} if defined($SIG{__WARN__}); + undef $SIG{__DIE__} if defined($SIG{__DIE__} ); $ah->interp($fs_interp);