From 5f3adf30b0cde623b56c0fc5c0e3447643de4b08 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 15 Sep 2006 02:38:52 +0000 Subject: [PATCH] =?utf8?q?Bug=20352702:=20Warnings=20in=20the=20web=20serv?= =?utf8?q?er=20error=20log=20when=20no=20URL=20is=20given=20on=20bug=20cre?= =?utf8?q?ation=20-=20Patch=20by=20Fr=C3=A9d=C3=A9ric=20Buclin=20=20r=3Dmkanat=20a=3Dmyk?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Bugzilla/Bug.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index d49fcfd20f..eeffb4c711 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -450,7 +450,7 @@ sub _check_assigned_to { sub _check_bug_file_loc { my ($invocant, $url) = @_; # If bug_file_loc is "http://", the default, use an empty value instead. - $url = '' if $url eq 'http://'; + $url = '' if (!defined($url) || $url eq 'http://'); return $url; } -- 2.47.2