Skip to content
Snippets Groups Projects
Commit cc4b87de authored by Camilo Ernesto Escobar Bedoya's avatar Camilo Ernesto Escobar Bedoya
Browse files

Issue #3362297 removed extra spaces in recurring_events_registration.module

parent 3708293f
No related branches found
No related tags found
1 merge request!73Issue #3362297 Provide new configuration option in the Registrant Settings form to enable/disabled the email notifications queue
...@@ -163,7 +163,7 @@ function recurring_events_registration_mail($key, &$message, $params) { ...@@ -163,7 +163,7 @@ function recurring_events_registration_mail($key, &$message, $params) {
// notification service to calculate those values. // notification service to calculate those values.
// Set the `$message['from']`. // Set the `$message['from']`.
if (!empty($params['from'])) { if (!empty($params['from'])) {
$message['from'] = $params['from']; $message['from'] = $params['from'];
} }
elseif (isset($service)) { elseif (isset($service)) {
$message['from'] = $service->getFrom(); $message['from'] = $service->getFrom();
...@@ -171,7 +171,7 @@ function recurring_events_registration_mail($key, &$message, $params) { ...@@ -171,7 +171,7 @@ function recurring_events_registration_mail($key, &$message, $params) {
// Set the `$message['subject']`. // Set the `$message['subject']`.
if (!empty($params['subject'])) { if (!empty($params['subject'])) {
$message['subject'] = $params['subject']; $message['subject'] = $params['subject'];
} }
elseif (isset($service)) { elseif (isset($service)) {
$message['subject'] = $service->getSubject(); $message['subject'] = $service->getSubject();
...@@ -179,7 +179,7 @@ function recurring_events_registration_mail($key, &$message, $params) { ...@@ -179,7 +179,7 @@ function recurring_events_registration_mail($key, &$message, $params) {
// Set the `$message['body']`. // Set the `$message['body']`.
if (!empty($params['body'])) { if (!empty($params['body'])) {
$message['body'][] = $params['body']; $message['body'][] = $params['body'];
} }
elseif (isset($service)) { elseif (isset($service)) {
$message['body'][] = $service->getMessage(); $message['body'][] = $service->getMessage();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment