diff -r -u mantisbt-1.2.0rc2-2009-08-03-master-1.2.x-e4c9e22.org/billing_inc.php mantisbt-1.2.0rc2-2009-08-03-master-1.2.x-e4c9e22/billing_inc.php --- mantisbt-1.2.0rc2-2009-08-03-master-1.2.x-e4c9e22.org/billing_inc.php 2009-07-22 10:04:12.000000000 +0200 +++ mantisbt-1.2.0rc2-2009-08-03-master-1.2.x-e4c9e22/billing_inc.php 2009-08-03 14:47:10.000000000 +0200 @@ -62,6 +62,14 @@ $t_bugnote_stats_to_y = gpc_get_int('end_year', $t_bugnote_stats_to_def_y); $f_get_bugnote_stats_button = gpc_get_string('get_bugnote_stats_button', ''); + if ( access_has_project_level( config_get( 'time_tracking_reporting_select_reporter_threshold' ) ) ) { + $t_select_reporter = true; + $f_reporter_id = gpc_get_int( 'reporter_id', ALL_USERS ); + } + else { + $t_select_reporter = false; + $f_reporter_id = auth_get_current_user_id(); + } $f_bugnote_cost = gpc_get_int( 'bugnote_cost', '' ); $f_project_id = helper_get_current_project(); @@ -75,17 +83,20 @@