summaryrefslogtreecommitdiff
path: root/edition_edit.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2005-12-11 22:53:05 +0000
committerChristian Fowler <spider@viovio.com>2005-12-11 22:53:05 +0000
commit8bbaa8db252a57322d4ad36f74637d7df198deee (patch)
tree09501e784259ed88f7cafab421d514342f20e881 /edition_edit.php
parent63230d60adeed22fdf349ba4a838029c034551b0 (diff)
downloadnewsletters-8bbaa8db252a57322d4ad36f74637d7df198deee.tar.gz
newsletters-8bbaa8db252a57322d4ad36f74637d7df198deee.tar.bz2
newsletters-8bbaa8db252a57322d4ad36f74637d7df198deee.zip
schema changes for powerhouse tiki_mail_queue and tiki_mail_unsubscriptions. content generic in design. send now stuffs the queue and avoids duplicates on multiple sends. only piece left is a mailer class
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 );
}