aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Zenz <Robert.Zenz@bonsaimind.org>2025-04-26 15:19:55 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2025-04-29 07:11:11 +0000
commit31b31f6171813a3c843b4b0a2c5d575e4fdcd5d0 (patch)
treefbe05cda693ada848e9b4fb5df389c09d432eff0
parentf835660548095a1bab45907cadf2c283aff0500a (diff)
downloadnextcloud-server-backport/52479/stable31.tar.gz
nextcloud-server-backport/52479/stable31.zip
fix(JSResourceLocator) fix incorrect parameter being used.backport/52479/stable31
-rw-r--r--lib/private/Template/JSResourceLocator.php2
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")