summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2012-08-08 16:04:51 +0100
committerlsces <lester@lsces.co.uk>2012-08-08 16:04:51 +0100
commit5f3d88cdb36cd7d80f291170ac7f69ce8bc1c155 (patch)
treed9fcb1b857fa0732a931ba3ef745de8e2ff62ac4 /index.php
parent6a6107f47020b443cb06817085a8f545d65622d2 (diff)
downloadarticles-5f3d88cdb36cd7d80f291170ac7f69ce8bc1c155.tar.gz
articles-5f3d88cdb36cd7d80f291170ac7f69ce8bc1c155.tar.bz2
articles-5f3d88cdb36cd7d80f291170ac7f69ce8bc1c155.zip
Should we be killing off the current process when a page redirect is actioned?
Edit's were saving, but not switching to the read view of the page.
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 5e98842..69a44ba 100644
--- a/index.php
+++ b/index.php
@@ -17,7 +17,7 @@ $gBitSystem->verifyPermission( 'p_articles_read' );
if( !empty( $_REQUEST['article_id'] ) ) {
$param = array ( 'article_id' => ( int )$_REQUEST['article_id'] );
header( "Location: ".BitArticle::getDisplayUrlFromHash( $param ) );
- exit;
+ die;
}
// Display the template