Prevent from including empty template

release-0.6
thomascube 17 years ago
parent fab43d2eb5
commit b469a19525

@ -35,7 +35,7 @@ if ($_GET['_uid']) {
if ($RCMAIL->action=='preview' && $OUTPUT->template_exists('messagepreview')) if ($RCMAIL->action=='preview' && $OUTPUT->template_exists('messagepreview'))
$OUTPUT->send('messagepreview'); $OUTPUT->send('messagepreview');
else { else {
$RCMAIL->action = 'list'; rcmail_overwrite_action('');
return; return;
} }
} }

Loading…
Cancel
Save