We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51d2f3e commit 54a46dcCopy full SHA for 54a46dc
src/Joomlatools/Console/Joomla/Util.php
@@ -68,7 +68,7 @@ public static function getJoomlaVersion($base)
68
}
69
70
//start to provide support for Joomla 4 onwards
71
- if (defined( "$className::MAJOR_VERSION") && $version::MAJOR_VERSION == '4'){
+ if (defined( "$className::MAJOR_VERSION") && in_array($version::MAJOR_VERSION, ['4', '5'])){
72
return $version::MAJOR_VERSION . "." . $version::MINOR_VERSION . "." . $version::PATCH_VERSION . ($version::EXTRA_VERSION ? "." . $version::EXTRA_VERSION : '');
73
74
0 commit comments