[freeside-commits] freeside/htetc handler.pl,1.117,1.118
Ivan,,,
ivan at wavetail.420.am
Tue Sep 15 12:45:40 PDT 2009
Update of /home/cvs/cvsroot/freeside/htetc
In directory wavetail.420.am:/tmp/cvs-serv11509
Modified Files:
handler.pl
Log Message:
eliminate "Use of uninitialized value in undef operator at /etc/freeside/handler.pl line 79/80" errors
Index: handler.pl
===================================================================
RCS file: /home/cvs/cvsroot/freeside/htetc/handler.pl,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -d -r1.117 -r1.118
--- handler.pl 25 Jul 2009 22:00:56 -0000 1.117
+++ handler.pl 15 Sep 2009 19:45:38 -0000 1.118
@@ -76,8 +76,8 @@
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);
More information about the freeside-commits
mailing list