diff options
author | lpsolit%gmail.com <> | 2008-02-09 06:35:44 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-02-09 06:35:44 +0100 |
commit | cc883c815a06bce21d353dcaa65aa3d7d4b0a73a (patch) | |
tree | 66baeef8020379ec0ea98c3a5661d0819e21b239 /buglist.cgi | |
parent | 02c618aacd7f1b4683b73e93fa063d4db9e02fcd (diff) | |
download | bugzilla-cc883c815a06bce21d353dcaa65aa3d7d4b0a73a.tar.gz bugzilla-cc883c815a06bce21d353dcaa65aa3d7d4b0a73a.tar.xz |
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 <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi index 493f4b3a9..b87cdf970 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(); |