summaryrefslogtreecommitdiff
path: root/list.php
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2012-08-08 16:25:49 +0100
committerlsces <lester@lsces.co.uk>2012-08-08 16:25:49 +0100
commitf2111ae9d6aeb30c9403d1b25228be62812bc97c (patch)
tree88fde7263a017656c8a49402f47480d3c8055d7a /list.php
parent5f3d88cdb36cd7d80f291170ac7f69ce8bc1c155 (diff)
downloadarticles-f2111ae9d6aeb30c9403d1b25228be62812bc97c.tar.gz
articles-f2111ae9d6aeb30c9403d1b25228be62812bc97c.tar.bz2
articles-f2111ae9d6aeb30c9403d1b25228be62812bc97c.zip
Refactored to use bit_redirect for page switch
Diffstat (limited to 'list.php')
-rw-r--r--list.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/list.php b/list.php
index b9b0989..b7f178c 100644
--- a/list.php
+++ b/list.php
@@ -36,8 +36,7 @@ if( !empty( $_REQUEST['action'] ) ) {
if( isset( $_REQUEST["confirm"] ) ) {
if( $tmpArt->expunge() ) {
- header( "Location: ".ARTICLES_PKG_URL.'list.php?status_id='.( !empty( $_REQUEST['status_id'] ) ? $_REQUEST['status_id'] : '' ) );
- die;
+ bit_redirect( ARTICLES_PKG_URL.'list.php?status_id='.( !empty( $_REQUEST['status_id'] ) ? $_REQUEST['status_id'] : '' ) );
} else {
$feedback['error'] = $tmpArt->mErrors;
}