Skip to content

Commit

Permalink
Download module console get version issue solved..
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Oct 19, 2023
1 parent b1c209a commit 3d9dc7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Utilities/Versions.php
Expand Up @@ -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'];
}
Expand Down

0 comments on commit 3d9dc7e

Please sign in to comment.