summaryrefslogtreecommitdiffstats
path: root/core/lostpassword
diff options
context:
space:
mode:
authorMyles McNamara <myles@hostt.net>2013-08-03 18:47:27 -0400
committerMyles McNamara <myles@hostt.net>2013-08-03 18:47:27 -0400
commit74a264e82e86449c696b413d760c61d8f41b587c (patch)
treeb492593e4242e31311fcacee6d11a452c9a5e114 /core/lostpassword
parent8edc0f210bd95a917551cf785584182bcfe867e1 (diff)
downloadnextcloud-server-74a264e82e86449c696b413d760c61d8f41b587c.tar.gz
nextcloud-server-74a264e82e86449c696b413d760c61d8f41b587c.zip
fix syntax error
accidentally had ; included, and changed concatenating
Diffstat (limited to 'core/lostpassword')
-rw-r--r--core/lostpassword/controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lostpassword/controller.php b/core/lostpassword/controller.php
index de7af21c07b..20445afe3fe 100644
--- a/core/lostpassword/controller.php
+++ b/core/lostpassword/controller.php
@@ -58,7 +58,7 @@ class OC_Core_LostPassword_Controller {
$from = OCP\Util::getDefaultEmailAddress('lostpassword-noreply');
try {
$defaults = new OC_Defaults();
- OC_Mail::send($email, $_POST['user'], $l->t($defaults->getTitle(); . ' password reset'), $msg, $from, $defaults->getName());
+ OC_Mail::send($email, $_POST['user'], $l->t('%s password reset', array($defaults->getTitle())), $msg, $from, $defaults->getName());
} catch (Exception $e) {
OC_Template::printErrorPage( 'A problem occurs during sending the e-mail please contact your administrator.');
}