small xss vulnerability and translation ability fix

This commit is contained in:
Maryana Rozhankivska 2014-05-30 17:17:34 +03:00
parent cbc75befb5
commit 30bd273580

View File

@ -1083,7 +1083,7 @@ class Poche
$config = $this->store->getConfigUser($user_id);
if ($config == null) {
die(_( sprintf('User with this id (%d) does not exist.', $user_id) ));
die(sprintf(_('User with this id (%d) does not exist.'), $user_id));
}
if (!in_array($type, $allowed_types) || $token != $config['token']) {