diff --git a/src/media.cls.php b/src/media.cls.php index fe43745c9..11e4dbb4d 100644 --- a/src/media.cls.php +++ b/src/media.cls.php @@ -999,19 +999,18 @@ public function replace_urls_in_json($content) if (json_last_error() === JSON_ERROR_NONE) { $did_webp_replace = false; - array_walk_recursive($jsonData, function (&$item, $key) use(&$did_webp_replace, $parent_class) { + array_walk_recursive($jsonData, function (&$item, $key) use (&$did_webp_replace, $parent_class) { if ($key == 'url') { $item_image = $parent_class->replace_webp($item); - if( $item_image ){ + if ($item_image) { $item = $item_image; - + $did_webp_replace = true; } } }); - - if( $did_webp_replace ){ + if ($did_webp_replace) { // Re-encode the modified array back to a JSON string $newJsonString = json_encode($jsonData); diff --git a/tpl/toolbox/beta_test.tpl.php b/tpl/toolbox/beta_test.tpl.php index 89f38b34f..f377b198d 100644 --- a/tpl/toolbox/beta_test.tpl.php +++ b/tpl/toolbox/beta_test.tpl.php @@ -6,7 +6,7 @@ // Existing public version list $v_list = array( - '6.2', + '6.2.0.1', '6.1', '5.7.0.1', '4.6',