Bug 221827 Missing Bug ID shouldn't be handled as Invalid Bug ID

r=vladd a=mkanat


git-svn-id: svn://10.0.0.236/trunk@233013 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org
2007-08-24 05:15:18 +00:00
parent d3ff5d698f
commit cda4f54d42
4 changed files with 10 additions and 8 deletions

View File

@@ -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);