From 0c8081bca5ab804581749aa519f3691c31a43e23 Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Tue, 22 Oct 2024 13:51:26 +0500 Subject: [PATCH] Bugfix --- app/Helpers/helpers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Helpers/helpers.php b/app/Helpers/helpers.php index 31b4d78..9f19bbc 100644 --- a/app/Helpers/helpers.php +++ b/app/Helpers/helpers.php @@ -66,10 +66,10 @@ function modules(bool $withDisabled = false): Collection 'enabled' => module($moduleName)->isEnabled(), ]; - $modules->push($moduleOptions); - // Include all if ($withDisabled) { + $modules->push($moduleOptions); + continue; }