From 5fd87b89ca50733d8e8964c740fed535d3827493 Mon Sep 17 00:00:00 2001 From: MadD3n Date: Sat, 7 Nov 2020 11:39:21 +0300 Subject: [PATCH] Fixes --- class/class.modules.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class/class.modules.php b/class/class.modules.php index 5c85552..9b84ba9 100755 --- a/class/class.modules.php +++ b/class/class.modules.php @@ -193,11 +193,11 @@ ! empty($installed_modules) ? ksort($installed_modules) - : $installed_modules = ''; + : $installed_modules = []; ! empty($not_installed_modules) ? ksort($not_installed_modules) - : $not_installed_modules = ''; + : $not_installed_modules = []; $assign['installed_modules'] = msort((array)$installed_modules,'ModuleName'); $assign['not_installed_modules'] = msort((array)$not_installed_modules,'ModuleName');