From 23b4d25aa7e6307ce908d0f21869d8470bfee85d Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Sat, 4 May 2002 11:58:07 +0000 Subject: Bug 139313 - warning in buglist.cgi when votes isn't a parameter patch by cedric.caron@urbanet.ch (Cedric Caron), r=bbaetz x2 --- buglist.cgi | 1 + 1 file changed, 1 insertion(+) (limited to 'buglist.cgi') diff --git a/buglist.cgi b/buglist.cgi index a29184200..37baecc86 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -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'); } -- cgit v1.2.3-24-g4f1b