Skip to content

Commit b751eea

Browse files
committed
fix(JSResourceLocator): fix incorrect parameter being used
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
1 parent 35dc74b commit b751eea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)