File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 88 * License: GNU/GPLv2
99 * @see LICENSE.txt
1010 *
11- * This file: Front-end handler (last modified: 2021.09.09 ).
11+ * This file: Front-end handler (last modified: 2021.10.18 ).
1212 */
1313
1414namespace phpMussel \FrontEnd ;
@@ -713,7 +713,8 @@ public function view(string $Page = ''): void
713713 /** phpMussel branch latest stable. */
714714 $ FE ['info_phpmussel_branch ' ] = $ this ->Loader ->L10N ->getString ('response_error ' );
715715 } else {
716- $ RemoteYAMLphpMusselArray = (new \Maikuolan \Common \YAML ($ RemoteYAMLphpMussel ))->Data ;
716+ $ RemoteYAMLphpMusselArray = [];
717+ $ this ->Loader ->YAML ->process ($ RemoteYAMLphpMussel , $ RemoteYAMLphpMusselArray );
717718
718719 /** phpMussel latest stable. */
719720 $ FE ['info_phpmussel_stable ' ] = empty ($ RemoteYAMLphpMusselArray ['Stable ' ]) ?
@@ -753,7 +754,8 @@ public function view(string $Page = ''): void
753754 /** PHP branch latest stable. */
754755 $ FE ['info_php_branch ' ] = $ this ->Loader ->L10N ->getString ('response_error ' );
755756 } else {
756- $ RemoteYamlPhpArray = (new \Maikuolan \Common \YAML ($ RemoteYamlPHP ))->Data ;
757+ $ RemoteYamlPhpArray = [];
758+ $ this ->Loader ->YAML ->process ($ RemoteYamlPHP , $ RemoteYamlPhpArray );
757759
758760 /** PHP latest stable. */
759761 $ FE ['info_php_stable ' ] = empty ($ RemoteYamlPhpArray ['Stable ' ]) ?
You can’t perform that action at this time.
0 commit comments