aboutsummaryrefslogtreecommitdiffstats
path: root/profile.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--profile.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/profile.php b/profile.php
index 064101732..4682129ce 100644
--- a/profile.php
+++ b/profile.php
@@ -120,10 +120,7 @@ if ( isset( $_POST['submit'] ) )
// redirection
$url = 'category.php';
if ( !isset($_POST['create_cookie']) ) $url = add_session_id( $url,true );
- header( 'Request-URI: '.$url );
- header( 'Content-Location: '.$url );
- header( 'Location: '.$url );
- exit();
+ redirect( $url );
}
}
//----------------------------------------------------- template initialization