summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-08-18 12:47:43 +0000
committerthomascube <thomas@roundcube.net>2008-08-18 12:47:43 +0000
commitb469a195258162a8beadc5a778529aa08a998519 (patch)
treeab684e5c487a564fb7cf97f1d09a98ddd3f7610a /program
parentfab43d2eb5c9d413a6fc097291a197094ed3dd99 (diff)
Prevent from including empty template
Diffstat (limited to 'program')
-rw-r--r--program/steps/mail/show.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc
index 4256458d3..b0dcf389b 100644
--- a/program/steps/mail/show.inc
+++ b/program/steps/mail/show.inc
@@ -35,7 +35,7 @@ if ($_GET['_uid']) {
if ($RCMAIL->action=='preview' && $OUTPUT->template_exists('messagepreview'))
$OUTPUT->send('messagepreview');
else {
- $RCMAIL->action = 'list';
+ rcmail_overwrite_action('');
return;
}
}