From f0974849af6f863725278a51f783b4823950c028 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Mon, 8 Sep 2003 05:06:39 +0000 Subject: Bug 218523 - undefined warning in query.cgi. Patch by gerv; r,a=justdave. --- query.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'query.cgi') diff --git a/query.cgi b/query.cgi index 149d10f76..afdcf1215 100755 --- a/query.cgi +++ b/query.cgi @@ -380,7 +380,7 @@ $vars->{'userdefaultquery'} = $userdefaultquery; $vars->{'orders'} = \@orders; $default{'querytype'} = $deforder || 'Importance'; -if (($::FORM{'query_format'} || $::FORM{'format'}) eq "create-series") { +if (($::FORM{'query_format'} || $::FORM{'format'} || "") eq "create-series") { require Bugzilla::Chart; $vars->{'category'} = Bugzilla::Chart::getVisibleSeries(); } -- cgit v1.2.3-24-g4f1b