ne pas laisser trainer le mode debug dans les arguments passés à Gamumail : les messages ne partent pas...

This commit is contained in:
cy_altern 2021-04-25 22:00:11 +02:00
parent a07579bc39
commit 9ae5b78fd1

View file

@ -13,7 +13,7 @@ if (!defined('_ECRIRE_INC_VERSION')){
* @return void
*/
function inc_comptespip_mail_inscription_dist(int $id_auteur, array $options = []) :void{
$options['debug'] = true;
//$options['debug'] = true;
if (test_plugin_actif('gamumail') and sql_countsel('spip_gamumails', 'slug="mail_inscription"')) {
$envoyer_gamumail = charger_fonction('envoyer_gamumail', 'inc');