MantisBT: master-1.2.x 748c4cec

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2012-12-12 12:56 master-1.2.x dab0021e
Affected Issues  0010130: Filter "Assigned to" does not display usernames when project "All Projects" is selected
Changeset

Removing current user from list built by print_user_option_list()

Since there is a [myself] value in the list, the current user should be
removed. This was done for ALL_PROJECTS with the fix for issue 0010130,
but the single-project code still listed the current user.

By moving the code to remove the current user to the foreach loop that
builds the sort arrays, we ensure that it is removed in both cases.

mod - core/print_api.php Diff File