Skip to content
Snippets Groups Projects
Commit 74a264e8 authored by Myles McNamara's avatar Myles McNamara
Browse files

fix syntax error

accidentally had ; included, and changed concatenating
parent 8edc0f21
Branches
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ class OC_Core_LostPassword_Controller { ...@@ -58,7 +58,7 @@ class OC_Core_LostPassword_Controller {
$from = OCP\Util::getDefaultEmailAddress('lostpassword-noreply'); $from = OCP\Util::getDefaultEmailAddress('lostpassword-noreply');
try { try {
$defaults = new OC_Defaults(); $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) { } catch (Exception $e) {
OC_Template::printErrorPage( 'A problem occurs during sending the e-mail please contact your administrator.'); OC_Template::printErrorPage( 'A problem occurs during sending the e-mail please contact your administrator.');
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment