From 9f63c3d9a96be282f0cc22b13544c67e728af7a9 Mon Sep 17 00:00:00 2001 From: Marek Isalski Date: Sat, 5 Sep 2020 20:11:27 +0100 Subject: [PATCH] no data when sending mailshot --- fulcrm_mailshot.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fulcrm_mailshot.module b/fulcrm_mailshot.module index 5f9a968..8896031 100644 --- a/fulcrm_mailshot.module +++ b/fulcrm_mailshot.module @@ -80,6 +80,6 @@ function fulcrm_mailshot_create_mailshot( $person, $recipient, $campaign_id, $d, } function fulcrm_mailshot_send_mailshot( $mailshot ) { - $api_data = fulcrm_apiv2_POST( $mailshot . 'send/' ); + $api_data = fulcrm_apiv2_POST( $mailshot . 'send/', $data = array() ); return $api_data[ 'success' ]; }