summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-08-18 12:47:43 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-08-18 12:47:43 +0000
commit0164cd4315d1001019e646ce56ad473a9ed30cd2 (patch)
tree03409de22c49207ba369ed1fd76a7c2fc744baed
parent9cb8f1030dc282420855d1f186d74b1deeb3ec24 (diff)
Prevent from including empty template
git-svn-id: https://svn.roundcube.net/trunk@1659 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/steps/mail/show.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/show.inc b/roundcubemail/program/steps/mail/show.inc
index 4256458d3..b0dcf389b 100644
--- a/roundcubemail/program/steps/mail/show.inc
+++ b/roundcubemail/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;
}
}