Fix: cancel not supported

This commit is contained in:
Laurent Destailleur 2012-05-15 20:39:04 +02:00
parent c48e0e6996
commit 1c7e3d1097

View File

@ -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
*/