Kriticna napaka pri posiljanju mailov.
parent
7b397fbcc8
commit
4ec6056e7f
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue