diff options
author | lpsolit%gmail.com <> | 2006-09-15 04:38:52 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-09-15 04:38:52 +0200 |
commit | 5f3adf30b0cde623b56c0fc5c0e3447643de4b08 (patch) | |
tree | 98e855340bb3d9b9507495c754c6e885e945cb68 | |
parent | 796c3fc76326a9bb05070bd1903045de442d9211 (diff) | |
download | bugzilla-5f3adf30b0cde623b56c0fc5c0e3447643de4b08.tar.gz bugzilla-5f3adf30b0cde623b56c0fc5c0e3447643de4b08.tar.xz |
Bug 352702: Warnings in the web server error log when no URL is given on bug creation - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
-rwxr-xr-x | Bugzilla/Bug.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index d49fcfd20..eeffb4c71 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; } |