From e30c3de4fc28ad7831fddabf27e95cf7806cd110 Mon Sep 17 00:00:00 2001 From: Akhil Potukuchi Date: Tue, 17 Oct 2023 21:07:41 +0530 Subject: [PATCH] Update lib/private/Template/JSResourceLocator.php Co-authored-by: Daniel Signed-off-by: Akhil Potukuchi Signed-off-by: Akhil --- lib/private/Template/JSResourceLocator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Template/JSResourceLocator.php b/lib/private/Template/JSResourceLocator.php index e2021473dd210..68a83fa4b733a 100644 --- a/lib/private/Template/JSResourceLocator.php +++ b/lib/private/Template/JSResourceLocator.php @@ -61,7 +61,7 @@ public function doFind($script) { $found += $this->appendScriptIfExist($this->serverroot, $script); $found += $this->appendScriptIfExist($this->serverroot, $theme_dir.$script); - foreach (\OC::$APPSROOTS AS $appRoot) { + foreach (\OC::$APPSROOTS as $appRoot) { $dirName = basename($appRoot['path']); $rootPath = dirname($appRoot['path']); $found += $this->appendScriptIfExist($rootPath, $dirName.'/'.$script);