summaryrefslogtreecommitdiff
path: root/edition_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'edition_edit.php')
-rw-r--r--edition_edit.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/edition_edit.php b/edition_edit.php
index 62d52a0..2b29fd1 100644
--- a/edition_edit.php
+++ b/edition_edit.php
@@ -40,7 +40,8 @@ if (isset($_REQUEST["preview"])) {
$gBitSmarty->assign('info', $info);
} elseif (isset($_REQUEST["save"])) {
if( $gContent->store( $_REQUEST ) ) {
- $gBitSmarty->assign( 'success', tra( 'Newsletter edition saved' ) );
+ header( 'Location: '.$gContent->getDisplayUrl() );
+ die;
} else {
$gBitSmarty->assign( 'errors', $gContent->mErrors );
}