summaryrefslogtreecommitdiff
path: root/modules/pref-users.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pref-users.php')
-rw-r--r--modules/pref-users.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/pref-users.php b/modules/pref-users.php
index 6a768cede..392e596ab 100644
--- a/modules/pref-users.php
+++ b/modules/pref-users.php
@@ -283,7 +283,7 @@
print_notice(T_sprintf("Changed password of user <b>%s</b>
to <b>%s</b>", $login, $tmp_user_pwd));
- if (MAIL_RESET_PASS && $email) {
+ if ($email) {
print_notice(T_sprintf("Notifying <b>%s</b>.", $email));
require_once "MiniTemplator.class.php";
@@ -303,8 +303,8 @@
$mail = new PHPMailer();
- $mail->PluginDir = "phpmailer/";
- $mail->SetLanguage("en", "phpmailer/language/");
+ $mail->PluginDir = "lib/phpmailer/";
+ $mail->SetLanguage("en", "lib/phpmailer/language/");
$mail->CharSet = "UTF-8";