]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 90334: Do not display the "change several bugs at once" form if there are no...
authorlpsolit%gmail.com <>
Sat, 9 Feb 2008 05:35:44 +0000 (05:35 +0000)
committerlpsolit%gmail.com <>
Sat, 9 Feb 2008 05:35:44 +0000 (05:35 +0000)
buglist.cgi

index 493f4b3a986a2bcb47c8b912693adcbb61adb4e0..b87cdf970841e7fadd77c264cf9b650715fc6a8c 100755 (executable)
@@ -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();