From cc883c815a06bce21d353dcaa65aa3d7d4b0a73a Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 9 Feb 2008 05:35:44 +0000 Subject: [PATCH] =?utf8?q?Bug=2090334:=20Do=20not=20display=20the=20"chang?= =?utf8?q?e=20several=20bugs=20at=20once"=20form=20if=20there=20are=20no?= =?utf8?q?=20bugs=20in=20the=20buglist=20-=20Patch=20by=20Fr=C3=83=C2=A9d?= =?utf8?q?=C3=83=C2=A9ric=20Buclin=20=20r/a=3Dmkanat?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- buglist.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buglist.cgi b/buglist.cgi index 493f4b3a98..b87cdf9708 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -1143,7 +1143,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->{'valid_keywords'} = [map($_->name, Bugzilla::Keyword->get_all)]; $vars->{'use_keywords'} = 1 if Bugzilla::Keyword::keyword_count(); -- 2.47.3