'toName' => $contact['display_name'],
'toEmail' => $email,
'subject' => $messageSubject,
+ 'entity' => 'action_schedule',
+ 'entity_id' => $scheduleID,
);
if (!$html || $contact['preferred_mail_format'] == 'Text' ||
* @static
*
*/
- static function add(&$params, &$ids = NULL) {
+ static function add(&$params, $ids = array()) {
$actionSchedule = new CRM_Core_DAO_ActionSchedule();
$actionSchedule->copyValues($params);
// Need to check if its a smart group or not
// Then decide which table to join onto the query
- $group = CRM_Contact_DAO_Group::getTableName();
+ $group = CRM_Contact_DAO_Group::getTableName();
// Get the group information
$sql = "