From b469a195258162a8beadc5a778529aa08a998519 Mon Sep 17 00:00:00 2001 From: thomascube Date: Mon, 18 Aug 2008 12:47:43 +0000 Subject: [PATCH] Prevent from including empty template --- program/steps/mail/show.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }