summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-05-03 16:45:18 +0200
committerGitHub <noreply@github.com>2018-05-03 16:45:18 +0200
commitfb9cb6d4c6a403d75118d903a69477cffb9a425b (patch)
tree498b0618251640e5a8bc9139767c759238db9e23 /lib/private
parent7cb467b4767e2bc0338e75172d0c855b67f263dc (diff)
parentf7b518fdbf70770e29a00a3b0430de97b927ee6a (diff)
downloadnextcloud-server-fb9cb6d4c6a403d75118d903a69477cffb9a425b.tar.gz
nextcloud-server-fb9cb6d4c6a403d75118d903a69477cffb9a425b.zip
Merge pull request #9373 from nextcloud/bugfix/8929/actual_fetch_version
Get correct version of an app
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/legacy/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php
index 7931eecc502..70f1b16e3c6 100644
--- a/lib/private/legacy/app.php
+++ b/lib/private/legacy/app.php
@@ -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,