diff --git a/webtools/bugzilla/CGI.pl b/webtools/bugzilla/CGI.pl
index c12ce8e5e7c..0d9762b222a 100644
--- a/webtools/bugzilla/CGI.pl
+++ b/webtools/bugzilla/CGI.pl
@@ -29,11 +29,9 @@ require 'globals.pl';
sub GeneratePersonInput {
my ($field, $required, $def_value, $extraJavaScript) = (@_);
- if (!defined $extraJavaScript) {
- $extraJavaScript = "";
- }
+ $extraJavaScript ||= "";
if ($extraJavaScript ne "") {
- $extraJavaScript = "onChange=\" $extraJavaScript \"";
+ $extraJavaScript = "onChange=\"$extraJavaScript\"";
}
return "";
}
diff --git a/webtools/bugzilla/buglist.cgi b/webtools/bugzilla/buglist.cgi
index ee4aa39fd3c..8d3182200dd 100755
--- a/webtools/bugzilla/buglist.cgi
+++ b/webtools/bugzilla/buglist.cgi
@@ -546,14 +546,13 @@ while (@row = FetchSQLData()) {
next;
}
my $value = shift @row;
- my $nowrap = "";
if ($::needquote{$c}) {
$value = html_quote($value);
} else {
$value = "