summaryrefslogtreecommitdiffstats
path: root/showdependencytree.cgi
diff options
context:
space:
mode:
authortimeless%mozdev.org <>2007-08-24 12:15:16 +0200
committertimeless%mozdev.org <>2007-08-24 12:15:16 +0200
commitab439a9ac6606f9382bf101b115bdb90bbd85e60 (patch)
tree8057c14c9c3b154503de03d66c2dcd292963651d /showdependencytree.cgi
parent938fdbf58ef07cc3f2398adbcea435250da15131 (diff)
downloadbugzilla-ab439a9ac6606f9382bf101b115bdb90bbd85e60.tar.gz
bugzilla-ab439a9ac6606f9382bf101b115bdb90bbd85e60.tar.xz
Bug 221827 Missing Bug ID shouldn't be handled as Invalid Bug ID
r=vladd a=mkanat
Diffstat (limited to 'showdependencytree.cgi')
-rwxr-xr-xshowdependencytree.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/showdependencytree.cgi b/showdependencytree.cgi
index 861dee859..070986d5e 100755
--- a/showdependencytree.cgi
+++ b/showdependencytree.cgi
@@ -49,7 +49,7 @@ my $dbh = Bugzilla->switch_to_shadow_db();
# Make sure the bug ID is a positive integer representing an existing
# bug that the user is authorized to access.
-my $id = $cgi->param('id') || ThrowUserError('invalid_bug_id_or_alias');
+my $id = $cgi->param('id') || ThrowUserError('improper_bug_id_field_value');
ValidateBugID($id);
my $current_bug = new Bugzilla::Bug($id);