From: lpsolit%gmail.com <> Date: Sat, 9 Feb 2008 05:38:43 +0000 (+0000) Subject: Bug 90334: Do not display the "change several bugs at once" form if there are no... X-Git-Tag: bugzilla-3.0.4~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab285e905ae838c52603d21db35e8f9d04bfd7f0;p=thirdparty%2Fbugzilla.git Bug 90334: Do not display the "change several bugs at once" form if there are no bugs in the buglist - Patch by Frédéric Buclin r/a=mkanat --- diff --git a/buglist.cgi b/buglist.cgi index e8ed31715b..749bce3d2c 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -1132,7 +1132,7 @@ $vars->{'quip'} = GetQuip(); $vars->{'currenttime'} = time(); # The following variables are used when the user is making changes to multiple bugs. -if ($dotweak) { +if ($dotweak && scalar @bugs) { $vars->{'dotweak'} = 1; $vars->{'use_keywords'} = 1 if Bugzilla::Keyword::keyword_count();