summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-06-26 22:21:08 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-06-26 22:21:08 +0000
commitcc9f167e49299aaf9175e304c49d8f25d3fd05d5 (patch)
tree73614aabf3c99c54343a420f2d8ab28e84979be3 /modules/user/user.module
parenta9749f8b72560ea3d8cb78bdd3252d024f375256 (diff)
downloadbrdo-cc9f167e49299aaf9175e304c49d8f25d3fd05d5.tar.gz
brdo-cc9f167e49299aaf9175e304c49d8f25d3fd05d5.tar.bz2
#154218 by Steven: HTML to text email converter, centralizing email wrapping in Drupal core and providing a solid conversion function for contributed modules
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 7918f09c3..f9b5d69b5 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -3157,7 +3157,7 @@ function _user_mail_notify($op, $account, $password = NULL) {
$from = variable_get('site_mail', ini_get('sendmail_from'));
$variables = user_mail_tokens($account, $password);
$subject = _user_mail_text($op .'_subject', $variables);
- $body = _user_mail_text($op .'_body', $variables);
+ $body = drupal_wrap_mail(_user_mail_text($op .'_body', $variables));
$result = drupal_mail($mail_id, $account->mail, $subject, $body, $from);
if ($op == 'register_pending_approval') {
// If a user registered requiring admin approval, notify the admin, too.