Bug 402745 - Improve the error message displayed when accessing summarize_time.cgi with no bug ID
git-svn-id: svn://10.0.0.236/trunk@264934 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
4f4c1fa794
commit
7c8317af84
@ -1 +1 @@
|
||||
8676
|
||||
8677
|
||||
@ -254,7 +254,7 @@ $user->is_timetracker
|
||||
|
||||
my @ids = split(",", $cgi->param('id') || '');
|
||||
@ids = map { Bugzilla::Bug->check($_)->id } @ids;
|
||||
scalar(@ids) || ThrowUserError('no_bugs_chosen', {action => 'view'});
|
||||
scalar(@ids) || ThrowUserError('no_bugs_chosen', {action => 'summarize'});
|
||||
|
||||
my $group_by = $cgi->param('group_by') || "number";
|
||||
my $monthly = $cgi->param('monthly');
|
||||
|
||||
@ -1287,6 +1287,8 @@
|
||||
to modify.
|
||||
[% ELSIF action == "view" %]
|
||||
to view.
|
||||
[% ELSIF action == 'summarize' %]
|
||||
for viewing time summaries.
|
||||
[% END %]
|
||||
|
||||
[% ELSIF error == "no_tag_to_edit" %]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user