summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 54e9c1f72..ce12393a0 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -241,10 +241,10 @@ function user_mail($mail, $subject, $message, $header) {
// print "<pre>subject: $subject<hr />header: $header<hr />$message</pre>";
if (variable_get("smtp_library", "") && file_exists(variable_get("smtp_library", ""))) {
include_once variable_get("smtp_library", "");
- user_mail_wrapper($mail, $subject, $message, $header);
+ return user_mail_wrapper($mail, $subject, $message, $header);
}
else {
- mail($mail, $subject, $message, $header);
+ return mail($mail, $subject, $message, $header);
}
}