Skip to content

Commit

Permalink
Fix error resulting from Giallu's fix for bug #3911: chaining print_h…
Browse files Browse the repository at this point in the history
…eader_redirect() and helper_mantis_url() is now Bad.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4894 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
amyreese committed Jan 16, 2008
1 parent ae431dd commit e1ac36d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/access_api.php
Expand Up @@ -44,7 +44,7 @@ function access_denied() {
$t_return_page .= '?' . $_SERVER['QUERY_STRING'];
}
$t_return_page = string_url( string_sanitize_url( $t_return_page ) );
print_header_redirect( helper_mantis_url('login_page.php') . '?return=' . $t_return_page );
print_header_redirect( 'login_page.php' . '?return=' . $t_return_page );
}
} else {
if( auth_get_current_user_id() == user_get_id_by_name( config_get_global( 'anonymous_account') ) ) {
Expand Down

0 comments on commit e1ac36d

Please sign in to comment.