mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 12:28:52 +00:00
[ticket/10824] Use json sanitizer in language_file_helper
PHPBB3-10824
This commit is contained in:
parent
04e791d9fe
commit
21c9883ac7
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class language_file_helper
|
||||||
foreach ($finder as $file)
|
foreach ($finder as $file)
|
||||||
{
|
{
|
||||||
$json = $file->getContents();
|
$json = $file->getContents();
|
||||||
$data = json_decode($json, true);
|
$data = \phpbb\json_sanitizer::sanitize(json_decode($json, true));
|
||||||
|
|
||||||
$available_languages[] = $this->get_language_data_from_json($data);
|
$available_languages[] = $this->get_language_data_from_json($data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue