diff --git a/bug_report.php b/bug_report.php index f3080df1d5..5f3285236a 100644 --- a/bug_report.php +++ b/bug_report.php @@ -137,8 +137,8 @@ $f_report_stay = gpc_get_bool( 'report_stay', false ); $f_copy_notes_from_parent = gpc_get_bool( 'copy_notes_from_parent', false ); $f_copy_attachments_from_parent = gpc_get_bool( 'copy_attachments_from_parent', false ); -$f_tag_select = gpc_get_int( 'tag_select' ); -$f_tag_string = gpc_get_string( 'tag_string' ); +$f_tag_select = gpc_get_int( 'tag_select', 0 ); +$f_tag_string = gpc_get_string( 'tag_string', '' ); if( access_has_project_level( config_get( 'roadmap_update_threshold' ), $t_bug_data->project_id ) ) { $t_bug_data->target_version = gpc_get_string( 'target_version', '' );