Skip to content

Commit

Permalink
Fix #3845: User not redirected to default project
Browse files Browse the repository at this point in the history
M core/helper_api.php
- (helper_clear_pref_cookies): Function was clearing cookies using the wrong cookie names.


git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2543 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
vboctor committed May 17, 2004
1 parent 6c3a4c1 commit 58b6354
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/helper_api.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: helper_api.php,v 1.47 2004-04-14 19:26:45 narcissus Exp $
# $Id: helper_api.php,v 1.48 2004-05-17 15:04:25 vboctor Exp $
# --------------------------------------------------------

### Helper API ###
Expand Down Expand Up @@ -166,9 +166,9 @@ function helper_set_current_project( $p_project_id ) {
# --------------------
# Clear all known user preference cookies
function helper_clear_pref_cookies() {
gpc_clear_cookie( 'project_cookie' );
gpc_clear_cookie( 'view_all_cookie' );
gpc_clear_cookie( 'manage_cookie' );
gpc_clear_cookie( config_get( 'project_cookie' ) );
gpc_clear_cookie( config_get( 'view_all_cookie' ) );
gpc_clear_cookie( config_get( 'manage_cookie' ) );
}
# --------------------
# Check whether the user has confirmed this action.
Expand Down

0 comments on commit 58b6354

Please sign in to comment.