diff options
| author | lsces <lester@lsces.co.uk> | 2012-08-08 16:25:49 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2012-08-08 16:25:49 +0100 |
| commit | f2111ae9d6aeb30c9403d1b25228be62812bc97c (patch) | |
| tree | 88fde7263a017656c8a49402f47480d3c8055d7a /list.php | |
| parent | 5f3d88cdb36cd7d80f291170ac7f69ce8bc1c155 (diff) | |
| download | articles-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.php | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; } |
