зеркало из https://github.com/mozilla/gecko-dev.git
Bug 139313 - warning in buglist.cgi when votes isn't a parameter
patch by cedric.caron@urbanet.ch (Cedric Caron), r=bbaetz x2
This commit is contained in:
Родитель
064bfcb8e2
Коммит
eafeedaa65
|
@ -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');
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче