Commit db4003ae authored by cividesk's avatar cividesk
Browse files

Fix campaign setting

parent 1580c4c0
......@@ -44,7 +44,7 @@ class CRM_Sparkpost {
'sparkpost_useBackupMailer' => false,
);
// Merge the settings defined in DB (no more groups in 4.7, so has to be one by one ...)
foreach (array('sparkpost_apiKey', 'sparkpost_useBackupMailer', 'sparkpost_domain', 'sparkpost_ipPool') as $name) {
foreach (array('sparkpost_apiKey', 'sparkpost_useBackupMailer', 'sparkpost_campaign', 'sparkpost_ipPool') as $name) {
$value = CRM_Core_BAO_Setting::getItem(CRM_Sparkpost::SPARKPOST_EXTENSION_SETTINGS, $name);
if (!is_null($value)) {
$settings[$name] = $value;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment