diff options
Diffstat (limited to 'edition_edit.php')
| -rw-r--r-- | edition_edit.php | 3 |
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 ); } |
