MantisBT: master 935c106f

Author Committer Branch Timestamp Parent
dregad dregad master 2012-10-01 22:56 master 136cb85c
Affected Issues  0014756: Sub project always fails at "check_selected" method when calling print_subproject_option_list
Changeset

Fixes 0014756: mismatched types passed on to check_selected()

When trying to report an issue in a setup having subprojects, and no
specific project is selected (current project = 'All projects'), an
error is triggered in check_selected() due to mismatched types.

Statically casting the project_id as string to solve the problem.

Thanks to phyllisl for detecting and proposing a solution to this issue.

mod - core/print_api.php Diff File