1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/10824] Switch to new namespace for json sanitizer

PHPBB3-10824
This commit is contained in:
Marc Alexander
2020-01-20 20:09:10 +01:00
parent 27c69c2740
commit 93949d1be4
6 changed files with 26 additions and 25 deletions

View File

@@ -1203,7 +1203,7 @@ class acp_styles
}
$json = file_get_contents($this->styles_path . $dir . '/composer.json');
$style_data = \phpbb\json_sanitizer::decode($json);
$style_data = \phpbb\json\sanitizer::decode($json);
if (!is_array($style_data) || !isset($style_data['type']) || $style_data['type'] !== 'phpbb-style')
{