use getName instead of getTitle

This commit is contained in:
Myles McNamara 2013-08-08 16:21:47 -04:00
parent 74a264e82e
commit f5d23c469d

View file

@ -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('%s password reset', array($defaults->getTitle())), $msg, $from, $defaults->getName());
OC_Mail::send($email, $_POST['user'], $l->t('%s password reset', array($defaults->getName())), $msg, $from, $defaults->getName());
} catch (Exception $e) {
OC_Template::printErrorPage( 'A problem occurs during sending the e-mail please contact your administrator.');
}