aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Joshi <joshi_sunil@in.com>2013-07-30 13:27:36 -0400
committerDave Lawrence <dlawrence@mozilla.com>2013-07-30 13:27:36 -0400
commit5d5597bbd642ad00f2637abbc93714b86a359641 (patch)
tree13ca1d1fece0cedde435dd56634514dd928fab05 /summarize_time.cgi
parentBug 856736 - Set X-Bugzilla-Type to dep_changed for 'dependency changed" bugmail (diff)
downloadbugzilla-5d5597bbd642ad00f2637abbc93714b86a359641.tar.gz
bugzilla-5d5597bbd642ad00f2637abbc93714b86a359641.tar.bz2
bugzilla-5d5597bbd642ad00f2637abbc93714b86a359641.zip
Bug 402745 - Improve the error message displayed when accessing summarize_time.cgi with no bug ID
Diffstat (limited to 'summarize_time.cgi')
-rwxr-xr-xsummarize_time.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/summarize_time.cgi b/summarize_time.cgi
index d77634da5..0d32d16e4 100755
--- a/summarize_time.cgi
+++ b/summarize_time.cgi
@@ -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');