projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec96d34
)
Remove url-tracking in mass sms. dev/core#1843
author
Diego Muñio
<muniodiego@gmail.com>
Fri, 26 Jun 2020 13:15:12 +0000
(10:15 -0300)
committer
Diego Muñio
<muniodiego@gmail.com>
Fri, 26 Jun 2020 13:15:12 +0000
(10:15 -0300)
CRM/Mailing/BAO/Mailing.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Mailing/BAO/Mailing.php
b/CRM/Mailing/BAO/Mailing.php
index 8169513e89a136a0bba1ebb65f9b2fe2240ba900..8a1e9529096e79d8cee9ad72191469f7686b6299 100644
(file)
--- 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