mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 20:24:08 +02:00
[ticket/10824] Use json_sanitzer::decode and improve migrations from pre 3.2
PHPBB3-10824
This commit is contained in:
@@ -390,7 +390,7 @@ class version_helper
|
||||
}
|
||||
|
||||
// Sanitize any data we retrieve from a server
|
||||
$info = \phpbb\json_sanitizer::sanitize(json_decode($info, true));
|
||||
$info = json_sanitizer::decode($info);
|
||||
|
||||
if (empty($info['stable']) && empty($info['unstable']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user