From: Victor B. <vb...@us...> - 2007-06-09 16:20:02
|
Update of /cvsroot/mantisbt/mantisbt/core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27112 Modified Files: summary_api.php Log Message: Fixed #8023: [all lang] Wrong URL on summary Index: summary_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/summary_api.php,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- summary_api.php 10 Feb 2007 11:59:58 -0000 1.45 +++ summary_api.php 9 Jun 2007 16:19:57 -0000 1.46 @@ -418,7 +418,7 @@ $label = sprintf( '[%s] %s', project_get_name( $last_project ), $label ); } - $t_bug_link = '<a class="subtle" href="' . config_get( 'bug_count_hyperlink_prefix' ) . '&show_category=' . $last_category; + $t_bug_link = '<a class="subtle" href="' . config_get( 'bug_count_hyperlink_prefix' ) . '&show_category=' . urlencode( $last_category ); if ( 0 < $t_bugs_open ) { $t_bugs_open = $t_bug_link . '&hide_status=' . RESOLVED . '">' . $t_bugs_open . '</a>'; } @@ -461,7 +461,7 @@ $label = sprintf( '[%s] %s', project_get_name( $last_project ), $label ); } - $t_bug_link = '<a class="subtle" href="' . config_get( 'bug_count_hyperlink_prefix' ) . '&show_category=' . $last_category; + $t_bug_link = '<a class="subtle" href="' . config_get( 'bug_count_hyperlink_prefix' ) . '&show_category=' . urlencode( $last_category ); if ( !is_blank( $t_bug_link ) ) { if ( 0 < $t_bugs_open ) { $t_bugs_open = $t_bug_link . '&hide_status=' . RESOLVED . '">' . $t_bugs_open . '</a>'; |