Created
October 18, 2013 21:44
-
-
Save deezone/7048702 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Combine all merge_var values - these values are used to send multipul messages | |
// with customizations to the Mandrill templace based on the merge_var values and | |
// the matching *|TAGS|* | |
$mandrill_params['message']['merge_vars'] = empty($content['merge_vars']) ? $mandrill_params['message']['merge_vars'] : array_merge($content['merge_vars'], $mandrill_params['message']['merge_vars']); | |
$mandrill_params['message']['global_merge_vars'] = $global_merge_vars; | |
$mandrill_params['message']['to'] = empty($content['to']) ? $mandrill_params['message']['to'] : array_merge($content['to'], $mandrill_params['message']['to']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment