aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Template/JSResourceLocator.php
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2025-04-29 10:55:51 +0200
committerGit'Fellow <12234510+solracsf@users.noreply.github.com>2025-04-29 19:08:23 +0200
commitb751eea309529879497348b68e7a83016566e19e (patch)
tree049f4f4295ada4fa26459fe724618befdf3dfebb /lib/private/Template/JSResourceLocator.php
parent35dc74bc1a0f0e3f9fcd98197cbf7d607af2ad69 (diff)
downloadnextcloud-server-fixIncParam30.tar.gz
nextcloud-server-fixIncParam30.zip
fix(JSResourceLocator): fix incorrect parameter being usedfixIncParam30
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Diffstat (limited to 'lib/private/Template/JSResourceLocator.php')
-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 b9a2fce6cd5..a594a456f41 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")