******** $t_user_id = auth_get_current_user_id(); if ( ALL_PROJECTS == $t_project_id ) { # Only projects to which the user have access 342a343 > /* Bug in project list $t_accessible_projects_array = user_get_accessible_projects( $t_user_id ) 343a345,351 > */ > $t_topprojects = $t_accessible_projects_array = user_get_accessible_proje > foreach ( $t_topprojects as $t_project ) { > $t_accessible_projects_array = array_merge( $t_accessible_projects_array > } > $t_accessible_projects_array = array_unique( $t_accessible_projects_array > # Bug in project list $specific_where = ' AND (project_id='. implode( ' OR project_id=', $t_acc } else { $specific_where = " AND project_id='$t_project_id'"; ******** if ( ALL_PROJECTS == $t_project_id ) { # Only projects to which the user have access 376a385 > /* Bug in project list $t_accessible_projects_array = user_get_accessible_projects( $t_user_id ) 377a387,393 > */ > $t_topprojects = $t_accessible_projects_array = user_get_accessible_proje > foreach ( $t_topprojects as $t_project ) { > $t_accessible_projects_array = array_merge( $t_accessible_projects_array > } > $t_accessible_projects_array = array_unique( $t_accessible_projects_array > # Bug in project list $specific_where = ' AND (project_id='. implode( ' OR project_id=', $t_acc } else { $specific_where = " AND project_id='$t_project_id'"; ******** if ( ALL_PROJECTS == $t_project_id ) { # Only projects to which the user have access 427a444 > /* Bug in project list $t_accessible_projects_array = user_get_accessible_projects( $t_user_id ) 428a446,452 > */ > $t_topprojects = $t_accessible_projects_array = user_get_accessible_proje > foreach ( $t_topprojects as $t_project ) { > $t_accessible_projects_array = array_merge( $t_accessible_projects_array > } > $t_accessible_projects_array = array_unique( $t_accessible_projects_array > # Bug in project list $specific_where = ' AND (project_id='. implode( ' OR project_id=', $t_acc } else { $specific_where = " AND project_id='$t_project_id'"; ******** if ( ALL_PROJECTS == $t_project_id ) { # Only projects to which the user have access 496a521 > /* Bug in project list $t_accessible_projects_array = user_get_accessible_projects( $t_user_id ) 497a523,529 > */ > $t_topprojects = $t_accessible_projects_array = user_get_accessible_proje > foreach ( $t_topprojects as $t_project ) { > $t_accessible_projects_array = array_merge( $t_accessible_projects_array > } > $t_accessible_projects_array = array_unique( $t_accessible_projects_array > # Bug in project list $specific_where = ' AND (project_id='. implode( ' OR project_id=', $t_acc } else { $specific_where = " AND project_id='$t_project_id'"; ******** if ( ALL_PROJECTS == $t_project_id ) { # Only projects to which the user have access 551a584 > /* Bug in project list $t_accessible_projects_array = user_get_accessible_projects( $t_user_id ) 552a586,592 > */ > $t_topprojects = $t_accessible_projects_array = user_get_accessible_proje > foreach ( $t_topprojects as $t_project ) { > $t_accessible_projects_array = array_merge( $t_accessible_projects_array > } > $t_accessible_projects_array = array_unique( $t_accessible_projects_array > # Bug in project list $specific_where = ' (project_id='. implode( ' OR project_id=', $t_accessi } else { $specific_where = " project_id='$t_project_id'"; ******** if ( ALL_PROJECTS == $t_project_id ) { # Only projects to which the user have access 614a655 > /* Bug in project list $t_accessible_projects_array = user_get_accessible_projects( $t_user_id ) 615a657,663 > */ > $t_topprojects = $t_accessible_projects_array = user_get_accessible_proje > foreach ( $t_topprojects as $t_project ) { > $t_accessible_projects_array = array_merge( $t_accessible_projects_array > } > $t_accessible_projects_array = array_unique( $t_accessible_projects_array > # Bug in project list $specific_where = ' (project_id='. implode( ' OR project_id=', $t_accessi } else { $specific_where = " project_id='$t_project_id'";