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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user