diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-01-29 20:59:50 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-01-29 20:59:50 +0000 |
commit | 729be610db0bc469e28484ec7f3bd2db750e397e (patch) | |
tree | 16c627561b23b8fa59244a463c58d9c330f00f47 | |
parent | 81308b60fce9721035ac0a5b5fb2d82d11cc2444 (diff) |
add session id to url if no cookie is created
git-svn-id: http://piwigo.org/svn/branches/release-1_3@326 68402e56-0260-453c-a942-63ccdbb3a9ee
-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 ); |