diff options
-rw-r--r-- | profile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profile.php b/profile.php index 5a8e196a7..730404470 100644 --- a/profile.php +++ b/profile.php @@ -109,7 +109,7 @@ if ( isset( $_POST['submit'] ) ) } // redirection $url = 'category.php'; - if ( isset( $_POST['create_cookie'] ) ) $url = add_session_id( $url,true ); + if ( !isset($_POST['create_cookie']) ) $url = add_session_id( $url,true ); header( 'Request-URI: '.$url ); header( 'Content-Location: '.$url ); header( 'Location: '.$url ); |