зеркало из https://github.com/mozilla/pjs.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 <LpSolit@gmail.com> r/a=mkanat
This commit is contained in:
Родитель
068b14d611
Коммит
9a34863067
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче