Skip to content

Commit

Permalink
Fix #15775: Wrong reporter when copying an issue
Browse files Browse the repository at this point in the history
  • Loading branch information
atrol committed Apr 23, 2013
1 parent 46564e6 commit 26572cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/bug_api.php
Expand Up @@ -937,6 +937,7 @@ function bug_copy( $p_bug_id, $p_target_project_id = null, $p_copy_custom_fields
}

$t_bug_data->project_id = $t_target_project_id;
$t_bug_data->reporter_id = auth_get_current_user_id();

$t_new_bug_id = $t_bug_data->create();

Expand Down

0 comments on commit 26572cd

Please sign in to comment.