Merge pull request #9373 from nextcloud/bugfix/8929/actual_fetch_version
Get correct version of an app
This commit is contained in:
commit
fb9cb6d4c6
|
@ -464,7 +464,7 @@ class OC_App {
|
|||
} else {
|
||||
$versionToLoad = [];
|
||||
foreach ($possibleApps as $possibleApp) {
|
||||
$version = self::getAppVersionByPath($possibleApp['path']);
|
||||
$version = self::getAppVersionByPath($possibleApp['path'] . '/' . $appId);
|
||||
if (empty($versionToLoad) || version_compare($version, $versionToLoad['version'], '>')) {
|
||||
$versionToLoad = array(
|
||||
'dir' => $possibleApp,
|
||||
|
|
Loading…
Reference in New Issue