]> 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:38:43 +0000 (05:38 +0000)
committerlpsolit%gmail.com <>
Sat, 9 Feb 2008 05:38:43 +0000 (05:38 +0000)
buglist.cgi

index e8ed31715bc7f4a63060fc1fca6d1b5fc9f62f77..749bce3d2cafdf8c850a1af8044f66e4d8541049 100755 (executable)
@@ -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();