From 729be610db0bc469e28484ec7f3bd2db750e397e Mon Sep 17 00:00:00 2001 From: z0rglub Date: Thu, 29 Jan 2004 20:59:50 +0000 Subject: 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 --- profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- cgit v1.2.3