From 9bb808cf5286e5db4890b7be10443bdeef92b9a2 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 29 Feb 2012 17:19:59 +0800 Subject: Fix "use of uninitialized value in string ne" when no arecibo server specified --- Bugzilla/Arecibo.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Arecibo.pm b/Bugzilla/Arecibo.pm index c2fd94b44..9e64d3889 100644 --- a/Bugzilla/Arecibo.pm +++ b/Bugzilla/Arecibo.pm @@ -123,7 +123,7 @@ sub arecibo_handle_error { my $message = join(" ", map { trim($_) } grep { $_ ne '' } @message); # don't send to arecibo unless configured - my $arecibo_server = Bugzilla->params->{arecibo_server}; + my $arecibo_server = Bugzilla->params->{arecibo_server} || ''; my $send_to_arecibo = $arecibo_server ne ''; if ($send_to_arecibo) { # message content filtering -- cgit v1.2.3-24-g4f1b