Kriticna napaka pri posiljanju mailov.

31-related-concepts
Lio Novelli 2024-03-17 21:46:02 +01:00
parent 7b397fbcc8
commit 4ec6056e7f
1 changed files with 1 additions and 0 deletions

View File

@ -163,6 +163,7 @@ function _yufu_admin_send_email($key = '', $to = '', $params = []) {
$langcode = \Drupal::currentUser()->getPreferredLangcode(); $langcode = \Drupal::currentUser()->getPreferredLangcode();
$send = TRUE; $send = TRUE;
$result = $mailManager->mail($module, $key, $to, $langcode, $params, NULL, $send); $result = $mailManager->mail($module, $key, $to, $langcode, $params, NULL, $send);
return $result;
} }
/** /**