diff options
author | bbaetz%student.usyd.edu.au <> | 2002-05-04 13:58:07 +0200 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-05-04 13:58:07 +0200 |
commit | 23b4d25aa7e6307ce908d0f21869d8470bfee85d (patch) | |
tree | 8bc92e13c7fcda0a85b6a745e3d5f8a7b50f5a0f /buglist.cgi | |
parent | af7e8c59d7024eacba4c2740e1f1367ef069cbc4 (diff) | |
download | bugzilla-23b4d25aa7e6307ce908d0f21869d8470bfee85d.tar.gz bugzilla-23b4d25aa7e6307ce908d0f21869d8470bfee85d.tar.xz |
Bug 139313 - warning in buglist.cgi when votes isn't a parameter
patch by cedric.caron@urbanet.ch (Cedric Caron), r=bbaetz x2
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 1 |
1 files changed, 1 insertions, 0 deletions
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'); } |