Bug 139313 - warning in buglist.cgi when votes isn't a parameter

patch by cedric.caron@urbanet.ch (Cedric Caron), r=bbaetz x2
parent af7e8c59
......@@ -1227,6 +1227,7 @@ else {
# Some versions of perl will taint 'votes' if this is done as a single
# statement, because $::FORM{'votes'} is tainted at this point
$::FORM{'votes'} ||= "";
if (trim($::FORM{'votes'}) && !grep($_ eq 'votes', @displaycolumns)) {
push(@displaycolumns, 'votes');
}
......
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