diff options
author | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-05-30 17:17:34 +0300 |
---|---|---|
committer | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-05-30 17:17:34 +0300 |
commit | 30bd273580a326db1fcc7263e1f52948672f9848 (patch) | |
tree | 68eee7b7462c503c57aeeb9c476b9459449e9742 | |
parent | cbc75befb5bdf368bec15f47413bd7669273a181 (diff) | |
download | wallabag-30bd273580a326db1fcc7263e1f52948672f9848.tar.gz wallabag-30bd273580a326db1fcc7263e1f52948672f9848.tar.zst wallabag-30bd273580a326db1fcc7263e1f52948672f9848.zip |
small xss vulnerability and translation ability fix
-rwxr-xr-x | inc/poche/Poche.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index b0c0adf8..3d1337f3 100755 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -1083,7 +1083,7 @@ class Poche | |||
1083 | $config = $this->store->getConfigUser($user_id); | 1083 | $config = $this->store->getConfigUser($user_id); |
1084 | 1084 | ||
1085 | if ($config == null) { | 1085 | if ($config == null) { |
1086 | die(_( sprintf('User with this id (%d) does not exist.', $user_id) )); | 1086 | die(sprintf(_('User with this id (%d) does not exist.'), $user_id)); |
1087 | } | 1087 | } |
1088 | 1088 | ||
1089 | if (!in_array($type, $allowed_types) || $token != $config['token']) { | 1089 | if (!in_array($type, $allowed_types) || $token != $config['token']) { |