diff options
author | Robert Zenz <Robert.Zenz@bonsaimind.org> | 2025-04-26 15:19:55 +0200 |
---|---|---|
committer | Robert Zenz <Robert.Zenz@bonsaimind.org> | 2025-04-26 15:19:55 +0200 |
commit | f428e6786ba53c1441128d2200d7d26e24db1d31 (patch) | |
tree | a75953eea1e7903d24c1fb31a0a45f7ca413b60d | |
parent | bb886258e0dc6eedcbdc2bb90b8ad38006189582 (diff) | |
download | nextcloud-server-f428e6786ba53c1441128d2200d7d26e24db1d31.tar.gz nextcloud-server-f428e6786ba53c1441128d2200d7d26e24db1d31.zip |
fix(JSResourceLocator) fix incorrect parameter being used.
-rw-r--r-- | lib/private/Template/JSResourceLocator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Template/JSResourceLocator.php b/lib/private/Template/JSResourceLocator.php index aad999f939a..a6d2d13a2ad 100644 --- a/lib/private/Template/JSResourceLocator.php +++ b/lib/private/Template/JSResourceLocator.php @@ -69,7 +69,7 @@ class JSResourceLocator extends ResourceLocator { || $this->appendScriptIfExist($this->serverroot, "dist/$app-$scriptName") || $this->appendScriptIfExist($appRoot, $script, $appWebRoot) || $this->cacheAndAppendCombineJsonIfExist($this->serverroot, $script . '.json') - || $this->cacheAndAppendCombineJsonIfExist($appRoot, $script . '.json', $appWebRoot) + || $this->cacheAndAppendCombineJsonIfExist($appRoot, $script . '.json', $app) || $this->appendScriptIfExist($this->serverroot, $theme_dir . 'core/' . $script) || $this->appendScriptIfExist($this->serverroot, 'core/' . $script) || (strpos($scriptName, '/') === -1 && ($this->appendScriptIfExist($this->serverroot, $theme_dir . "dist/core-$scriptName") |