MantisBT: master dba4f3e5

Author Committer Branch Timestamp Parent
dregad dregad master 2012-12-12 12:39 master 048dc22c
Affected Issues  0010130: Filter "Assigned to" does not display usernames when project "All Projects" is selected
Changeset

Optimise code in print_user_option_list()

Improve performance of code building the list of users for all projects
introduced in commit 21746dd1a6a7e4c6df8baa9cbfc3dac48c82899c.

By using an associative array, the foreach loop to remove duplicates can
be simplified (no need for an if statement) and we can also remove the
current user from the list more easily.

Affects issue 0010130

mod - core/print_api.php Diff File