From 1c7e3d109784399387fe4ac2fffcca8148c4ac6d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 15 May 2012 20:39:04 +0200 Subject: [PATCH] Fix: cancel not supported --- htdocs/admin/mails.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/htdocs/admin/mails.php b/htdocs/admin/mails.php index 8be4899ebfe..b09e8da9d4a 100644 --- a/htdocs/admin/mails.php +++ b/htdocs/admin/mails.php @@ -159,6 +159,14 @@ if (! empty($_POST['removedfile']) || ! empty($_POST['removedfilehtml'])) if ($_POST['removedfilehtml'] || $action='sendhtml') $action='testhtml'; } +/* + * Cancel + */ +if (($action == 'send' || $action == 'sendhtml') && $_POST['cancel']) +{ + $message=''; +} + /* * Send mail */