diff --git a/CRM/Mailing/BAO/Mailing.php b/CRM/Mailing/BAO/Mailing.php index 8169513e89a136a0bba1ebb65f9b2fe2240ba900..8a1e9529096e79d8cee9ad72191469f7686b6299 100644 --- a/CRM/Mailing/BAO/Mailing.php +++ b/CRM/Mailing/BAO/Mailing.php @@ -1528,6 +1528,12 @@ ORDER BY civicrm_email.is_bulkmail DESC \Civi::log('Parameter $ids is no longer used by Mailing::create. Use the api or just pass $params', ['civi.tag' => 'deprecated']); } + // CRM-#1843 + // If it is a mass sms, set url_tracking to false + if (!empty($params['sms_provider_id'])) { + $params['url_tracking'] = 0; + } + // CRM-12430 // Do the below only for an insert // for an update, we should not set the defaults