]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 139313 - warning in buglist.cgi when votes isn't a parameter
authorbbaetz%student.usyd.edu.au <>
Sat, 4 May 2002 11:58:07 +0000 (11:58 +0000)
committerbbaetz%student.usyd.edu.au <>
Sat, 4 May 2002 11:58:07 +0000 (11:58 +0000)
patch by cedric.caron@urbanet.ch (Cedric Caron), r=bbaetz x2

buglist.cgi

index a29184200c778fede08e5629f2260e34aa851d64..37baecc8640807e472a7bd876dfbd26f95f3bcf5 100755 (executable)
@@ -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');
 }