expo form: email fixed

This commit is contained in:
2021-09-08 15:11:59 +02:00
parent e6f0cbb190
commit ccf9e91313
2 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ function materio_expo_mail($key, &$message, $params) {
switch ($key) {
case 'expo_getmail_submitted':
$message['from'] = \Drupal::config('system.site')->get('mail');
$message['subject'] = t('[EXPO] mail submitted: @mail', array('@mail' => $params['mail']));
$message['subject'] = t('[EXPO] mail submitted: @mail', array('@mail' => $params['email']));
$message['body'][] = $params['message'];
break;
}