diff -urN --exclude=CVS --exclude=.svn --exclude=.swp --exclude='.git*' --exclude=config_inc.php mantis-cvs/bug_report_advanced_page.php mantis-target/bug_report_advanced_page.php --- mantis-cvs/bug_report_advanced_page.php 2007-08-07 10:47:14.000000000 -0400 +++ mantis-target/bug_report_advanced_page.php 2007-08-20 15:30:32.000000000 -0400 @@ -66,6 +66,7 @@ $f_os = $t_bug->os; $f_os_build = $t_bug->os_build; $f_product_version = $t_bug->version; + $f_target_version = $t_bug->target_version; $f_profile_id = 0; $f_handler_id = $t_bug->handler_id; @@ -88,6 +89,7 @@ $f_os = gpc_get_string( 'os', '' ); $f_os_build = gpc_get_string( 'os_build', '' ); $f_product_version = gpc_get_string( 'product_version', '' ); + $f_target_version = gpc_get_string( 'target_version', '' ); $f_profile_id = gpc_get_int( 'profile_id', 0 ); $f_handler_id = gpc_get_int( 'handler_id', 0 ); @@ -356,6 +358,20 @@ + + +> + + + + + + + + + diff -urN --exclude=CVS --exclude=.svn --exclude=.swp --exclude='.git*' --exclude=config_inc.php mantis-cvs/bug_report.php mantis-target/bug_report.php --- mantis-cvs/bug_report.php 2007-08-07 10:47:14.000000000 -0400 +++ mantis-target/bug_report.php 2007-08-20 15:30:27.000000000 -0400 @@ -28,6 +28,7 @@ $t_bug_data->os = gpc_get_string( 'os', '' ); $t_bug_data->os_build = gpc_get_string( 'os_build', '' ); $t_bug_data->version = gpc_get_string( 'product_version', '' ); + $t_bug_data->target_version = access_has_project_level( config_get( 'handle_bug_threshold' ) ) ? gpc_get_string( 'target_version', '' ) : ''; $t_bug_data->profile_id = gpc_get_int( 'profile_id', 0 ); $t_bug_data->handler_id = gpc_get_int( 'handler_id', 0 ); $t_bug_data->view_state = gpc_get_int( 'view_state', config_get( 'default_bug_view_status' ) ); @@ -165,6 +166,7 @@ + diff -urN --exclude=CVS --exclude=.svn --exclude=.swp --exclude='.git*' --exclude=config_inc.php mantis-cvs/core/bug_api.php mantis-target/core/bug_api.php --- mantis-cvs/core/bug_api.php 2007-08-07 10:47:13.000000000 -0400 +++ mantis-target/core/bug_api.php 2007-08-20 15:20:27.000000000 -0400 @@ -345,6 +345,7 @@ $c_os_build = db_prepare_string( $p_bug_data->os_build ); $c_platform = db_prepare_string( $p_bug_data->platform ); $c_version = db_prepare_string( $p_bug_data->version ); + $c_target_version = db_prepare_string( $p_bug_data->target_version ); $c_build = db_prepare_string( $p_bug_data->build ); $c_profile_id = db_prepare_int( $p_bug_data->profile_id ); $c_view_state = db_prepare_int( $p_bug_data->view_state ); @@ -441,7 +442,7 @@ '$c_platform', '$c_version', '$c_build', '$c_profile_id', '$c_summary', '$c_view_state', '$c_sponsorship_total', '$c_sticky', '', - '' + '$c_target_version' )"; db_query( $query );