Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cad51f2

Browse files
committedSep 5, 2011
Correct access_has_any_project checks in print_column_selection
The access_has_any_project method call takes a user, not a project parameter.
1 parent 338208c commit cad51f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎core/columns_api.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ function print_column_selection( $p_bug, $p_columns_target = COLUMNS_TARGET_VIEW
839839
global $g_checkboxes_exist;
840840

841841
echo '<td>';
842-
if( access_has_any_project( config_get( 'report_bug_threshold', null, null, $p_bug->project_id ), $p_bug->project_id ) ||
842+
if( access_has_any_project( config_get( 'report_bug_threshold', null, null, $p_bug->project_id ) ) ||
843843
# !TODO: check if any other projects actually exist for the bug to be moved to
844844
access_has_project_level( config_get( 'move_bug_threshold', null, null, $p_bug->project_id ), $p_bug->project_id ) ||
845845
# !TODO: factor in $g_auto_set_status_to_assigned == ON

0 commit comments

Comments
 (0)
Please sign in to comment.