From 3d9dc7e5aae14179fa13d9c32b8b3281b6391364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Thu, 19 Oct 2023 10:33:29 +0300 Subject: [PATCH] Download module console get version issue solved.. --- app/Utilities/Versions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Utilities/Versions.php b/app/Utilities/Versions.php index 4c7ee64a836..582322f11bc 100644 --- a/app/Utilities/Versions.php +++ b/app/Utilities/Versions.php @@ -130,7 +130,7 @@ public static function getVersionByAlias($alias) $version = $info['akaunting']; if ($alias != 'core') { - $version = module($alias)->get('version'); + $version = module($alias) ? module($alias)->get('version') : '1.0.0'; $url = 'apps/' . $alias . '/version/' . $version . '/' . $info['akaunting']; }