*** core/filter_api.php.orig	Wed Jul 13 04:49:27 2011
--- core/filter_api.php	Wed Jul 13 05:08:27 2011
***************
*** 1177,1184 ****
  		// this array is populated with project ids that the current user has full access to.
  		$t_private_and_public_project_ids = array();
  
- 		$t_access_required_to_view_private_bugs = config_get( 'private_bug_threshold' );
  		foreach( $t_project_ids as $t_pid ) {
  			if( access_has_project_level( $t_access_required_to_view_private_bugs, $t_pid, $t_user_id ) ) {
  				$t_private_and_public_project_ids[] = $t_pid;
  			} else {
--- 1177,1184 ----
  		// this array is populated with project ids that the current user has full access to.
  		$t_private_and_public_project_ids = array();
  
  		foreach( $t_project_ids as $t_pid ) {
+ 			$t_access_required_to_view_private_bugs = config_get( 'private_bug_threshold', null, null, $t_pid );
  			if( access_has_project_level( $t_access_required_to_view_private_bugs, $t_pid, $t_user_id ) ) {
  				$t_private_and_public_project_ids[] = $t_pid;
  			} else {
