summaryrefslogtreecommitdiff
path: root/includes/controller
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-03-12 17:36:55 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-03-12 17:36:55 +0100
commit13f8a513d4651918b95a825dd252b69a6ad7711e (patch)
tree3bcaa78920168cbab0d32015c469cb9ff1d93221 /includes/controller
parent462b78a7e7c4052d8d41268237bba7bffc98f55e (diff)
fix error messages on password recovery
Diffstat (limited to 'includes/controller')
-rw-r--r--includes/controller/users_controller.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/controller/users_controller.php b/includes/controller/users_controller.php
index c5c437ca..bf83fa9e 100644
--- a/includes/controller/users_controller.php
+++ b/includes/controller/users_controller.php
@@ -49,15 +49,15 @@ function user_password_recovery_controller() {
engelsystem_error("Unable to load user.");
if ($user_source == null) {
$ok = false;
- $msg .= error(_("E-mail address is not correct."), true);
+ error(_("E-mail address is not correct."));
}
} else {
$ok = false;
- $msg .= error(_("E-mail address is not correct."), true);
+ error(_("E-mail address is not correct."));
}
} else {
$ok = false;
- $msg .= error(_("Please enter your e-mail."), true);
+ error(_("Please enter your e-mail."));
}
if ($ok) {