Skip to content

Commit 0371c2c

Browse files
authored
Merge pull request #52520 from nextcloud/backport/52479/stable31
[stable31] fix(JSResourceLocator) fix incorrect parameter being used.
2 parents 895615a + ca98750 commit 0371c2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Template/JSResourceLocator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function doFind($script) {
6969
|| $this->appendScriptIfExist($this->serverroot, "dist/$app-$scriptName")
7070
|| $this->appendScriptIfExist($appRoot, $script, $appWebRoot)
7171
|| $this->cacheAndAppendCombineJsonIfExist($this->serverroot, $script . '.json')
72-
|| $this->cacheAndAppendCombineJsonIfExist($appRoot, $script . '.json', $appWebRoot)
72+
|| $this->cacheAndAppendCombineJsonIfExist($appRoot, $script . '.json', $app)
7373
|| $this->appendScriptIfExist($this->serverroot, $theme_dir . 'core/' . $script)
7474
|| $this->appendScriptIfExist($this->serverroot, 'core/' . $script)
7575
|| (strpos($scriptName, '/') === -1 && ($this->appendScriptIfExist($this->serverroot, $theme_dir . "dist/core-$scriptName")

0 commit comments

Comments
 (0)