<?php
-/* This file is part of Syj, Copyright (c) 2010 Arnaud Renevier,
+/* This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier,
and is published under the AGPL license. */
class Syj_Form_Pending_ResetPassword extends Syj_Form_Pending
$translator = $this->getTranslator();
$activatetext = $translator->translate("Hi %s. Someone, probably you, has asked to reset password for your account. To get a new password, validate with following button.");
- $pseudo = htmlspecialchars($user->pseudo);
+ $pseudo = htmlspecialchars($user->pseudo, ENT_COMPAT, "UTF-8");
$activatetext = vsprintf ($activatetext, array($pseudo));
return array(