- Issue created by @robphillips
- Merge request !27Issue #3467661: Corrects language code passed from DrupalMailHandler. β (Open) created by robphillips
- Status changed to Needs review
4 months ago 3:50pm 12 August 2024
The DrupalMailHandler
is passing the default language name instead of a language code.
$mail->mail('monolog', 'default', $this->to, $default_language->getName(), $params);
https://git.drupalcode.org/project/drupal/-/blob/11.x/core/lib/Drupal/Co...
Change $default_language->getName()
to $default_language->getId()
.
Needs review
3.0
Code