Fix: Do not send emailing if confirm is no
This commit is contained in:
parent
3642ac0550
commit
203336b839
@ -18,11 +18,11 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/comm/mailing/fiche.php
|
||||
\ingroup mailing
|
||||
\brief Fiche mailing, onglet g<EFBFBD>n<EFBFBD>ral
|
||||
\version $Id$
|
||||
*/
|
||||
* \file htdocs/comm/mailing/fiche.php
|
||||
* \ingroup mailing
|
||||
* \brief Fiche mailing, onglet g<EFBFBD>n<EFBFBD>ral
|
||||
* \version $Id$
|
||||
*/
|
||||
|
||||
require("./pre.inc.php");
|
||||
require_once(DOL_DOCUMENT_ROOT."/lib/CMailFile.class.php");
|
||||
@ -87,7 +87,7 @@ if ($_POST["action"] == 'confirm_clone' && $_POST['confirm'] == 'yes')
|
||||
}
|
||||
|
||||
// Action envoi mailing pour tous
|
||||
if ($_POST["action"] == 'sendallconfirmed')
|
||||
if ($_POST["action"] == 'sendallconfirmed' && $_POST['confirm'] == 'yes')
|
||||
{
|
||||
if (empty($conf->global->MAILING_LIMIT_SENDBYWEB))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user