no data when sending mailshot

master
Marek Isalski 4 years ago
parent 49e4c63cea
commit 9f63c3d9a9

@ -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' ];
}

Loading…
Cancel
Save