mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
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
This commit is contained in:
parent
801f716709
commit
5d6b323f52
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user