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:
f486d2c
)
Fix the bug in CRM_Mailing_BAO_Mailing::add() where the DAO was being instantiated...
author
Robin Mitra
<robinmitra1@gmail.com>
Tue, 9 Sep 2014 11:46:50 +0000
(11:46 +0000)
committer
Robin Mitra
<robinmitra1@gmail.com>
Tue, 9 Sep 2014 11:46:50 +0000
(11:46 +0000)
CRM/Mailing/BAO/Mailing.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Mailing/BAO/Mailing.php
b/CRM/Mailing/BAO/Mailing.php
index a7bd0f051f0807a1606a22363422ac43a42354e5..6202000bc175fa8cbfa27c321ad5b6396195e27b 100644
(file)
--- a/
CRM/Mailing/BAO/Mailing.php
+++ b/
CRM/Mailing/BAO/Mailing.php
@@
-1482,7
+1482,7
@@
ORDER BY civicrm_email.is_bulkmail DESC
CRM_Utils_Hook::pre('create', 'Mailing', NULL, $params);
}
- $mailing = new
CRM_Mailing_DAO_Mailing
();
+ $mailing = new
static
();
$mailing->id = $id;
$mailing->domain_id = CRM_Utils_Array::value('domain_id', $params, CRM_Core_Config::domainID());