Commit f447fd56 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Fix on checkin for bug 343364

parent 70711889
...@@ -119,7 +119,7 @@ sub initBug { ...@@ -119,7 +119,7 @@ sub initBug {
$self->{'who'} = new Bugzilla::User($user_id); $self->{'who'} = new Bugzilla::User($user_id);
if ((! defined $bug_id) || (!$bug_id) || (!detaint_natural($bug_id))) { unless ($bug_id && detaint_natural($bug_id)) {
# no bug number given or the alias didn't match a bug # no bug number given or the alias didn't match a bug
$self->{'bug_id'} = $old_bug_id; $self->{'bug_id'} = $old_bug_id;
$self->{'error'} = "InvalidBugId"; $self->{'error'} = "InvalidBugId";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment