Commit 5f3adf30 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 352702: Warnings in the web server error log when no URL is given on bug…

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
parent 796c3fc7
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment