From 03a7765f9fd71e4330538a3567bf3eb28c585cdf Mon Sep 17 00:00:00 2001 From: maxpozdeev Date: Mon, 31 Oct 2022 11:02:56 +0300 Subject: [PATCH] - fix warning in settings about uninitialized var --- src/settings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/settings.php b/src/settings.php index 6610557..839c2f3 100644 --- a/src/settings.php +++ b/src/settings.php @@ -193,6 +193,7 @@ function listExtensions() $extBundles = MTTExtensionLoader::bundles(); $activatedExts = Config::get('extensions'); if (!is_array($activatedExts)) $activatedExts = []; + $a = []; foreach ($extBundles as $ext => $meta) { $out = htmlspecialchars($meta['name']. ' v'. $meta['version']). ' '; if (in_array($ext, $activatedExts)) {