diff --git a/actions/invite.php b/actions/invite.php index c28f7d5a640be03cbbdf2567c5a8cb1e1d8c6166..35606037f35a0baf13d4602951de76857646446c 100644 --- a/actions/invite.php +++ b/actions/invite.php @@ -283,7 +283,7 @@ class InviteAction extends CurrentUserDesignAction $title = (empty($personal)) ? 'invite' : 'invitepersonal'; - $inviteTemplate = DocFile::fromTitle($title, DocFile::mailPaths()); + $inviteTemplate = DocFile::forTitle($title, DocFile::mailPaths()); $body = $inviteTemplate->toHTML(array('inviter' => $bestname, 'inviteurl' => $profile->profileurl,