From f008b8d8939b62fee2ec3552ff64d01d31450670 Mon Sep 17 00:00:00 2001 From: Victor Boctor Date: Thu, 21 Apr 2016 07:09:14 -0700 Subject: [PATCH] Fix error on reporting issues w/ tags field hidden Fixes #9450 --- bug_report.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', '' );