aboutsummaryrefslogtreecommitdiffstats
path: root/category.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--category.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/category.php b/category.php
index 02384fbc8..558615b0c 100644
--- a/category.php
+++ b/category.php
@@ -36,10 +36,7 @@ if ( isset( $_GET['act'] )
// cookie deletion if exists
setcookie( 'id', '', 0, cookie_path() );
$url = 'category.php';
- header( 'Request-URI: '.$url );
- header( 'Content-Location: '.$url );
- header( 'Location: '.$url );
- exit();
+ redirect( $url );
}
//-------------------------------------------------- access authorization check
if ( isset( $_GET['cat'] ) ) check_cat_id( $_GET['cat'] );