MantisBT: master 3f61050f

Author Committer Branch Timestamp Parent
dhx dhx master 2010-02-25 01:02 master 8164b3eb
Changeset

current_user_get_bug_filter() can return false

When calling current_user_get_bug_filter(), we need to check if the
return value is boolean false. If so, we need to get the default filter
instead of the current user's filter.

Also, current_user_get_bug_filter() already validates the filter to
ensure it is correct, so there is no need to validate it a second time.

mod - core/current_user_api.php Diff File
mod - my_view_inc.php Diff File
mod - return_dynamic_filters.php Diff File
mod - view_filters_page.php Diff File
mod - view_all_inc.php Diff File
mod - core/html_api.php Diff File