mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/10824] Use json sanitizer in language_file_helper
PHPBB3-10824
This commit is contained in:
@@ -54,7 +54,7 @@ class language_file_helper
|
||||
foreach ($finder as $file)
|
||||
{
|
||||
$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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user