diff options
author | mkanat%kerio.com <> | 2005-02-19 02:34:19 +0100 |
---|---|---|
committer | mkanat%kerio.com <> | 2005-02-19 02:34:19 +0100 |
commit | 2cfad107065b4c3c290d8f3fa93f7c82332523e9 (patch) | |
tree | 5f3329b5c36b9fd11fe2d76498b50727ba4fe6b9 /query.cgi | |
parent | 31edd11972e360a0773ee071c9b4666c51edfcef (diff) | |
download | bugzilla-2cfad107065b4c3c290d8f3fa93f7c82332523e9.tar.gz bugzilla-2cfad107065b4c3c290d8f3fa93f7c82332523e9.tar.xz |
Bug 254347: Use of uninitialized value msg in query.cgi
Patch By Frederic Buclin <LpSolit@gmail.com>, r=mkanat, a=justdave
Diffstat (limited to 'query.cgi')
-rwxr-xr-x | query.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -443,7 +443,7 @@ if (!($cgi->param('query_format') || $cgi->param('format'))) { # Set cookie to current format as default, but only if the format # one that we should remember. -if (IsValidQueryType($vars->{'format'})) { +if (defined($vars->{'format'}) && IsValidQueryType($vars->{'format'})) { $cgi->send_cookie(-name => 'DEFAULTFORMAT', -value => $vars->{'format'}, -expires => "Fri, 01-Jan-2038 00:00:00 GMT"); |