From 6cf39c7a91f1c84a934fdf54964a4ed9fe120db2 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 21 Aug 2009 10:02:50 +0000 Subject: [PATCH] Fix: don't show "mailing need command" if MAILING_LIMIT_SENDBYWEB is defined --- htdocs/comm/mailing/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/mailing/fiche.php b/htdocs/comm/mailing/fiche.php index 073c4a7eccb..9ad0ea3334d 100644 --- a/htdocs/comm/mailing/fiche.php +++ b/htdocs/comm/mailing/fiche.php @@ -633,7 +633,7 @@ else if ($mesg) print $mesg; - if ($_GET["action"] == 'sendall') + if ($_GET["action"] == 'sendall' && empty($conf->global->MAILING_LIMIT_SENDBYWEB)) { // Pour des raisons de securite, on ne permet pas cette fonction via l'IHM, // on affiche donc juste un message