summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2023-02-20 12:36:06 +0100
committerGitHub <noreply@github.com>2023-02-20 12:36:06 +0100
commit95eeba83b6570b3cf7cbb79aea42222f7d3e03f4 (patch)
tree53add6b43a82e418d0e267d4160f536724e886f6 /lib
parent6bb0985e59d7ba3c4cf9928d8bb766ac9975cd12 (diff)
parent4cebfa95e68e95afd9f6c038ded32e68b7db1cd2 (diff)
downloadnextcloud-server-95eeba83b6570b3cf7cbb79aea42222f7d3e03f4.tar.gz
nextcloud-server-95eeba83b6570b3cf7cbb79aea42222f7d3e03f4.zip
Merge pull request #36780 from nextcloud/bugfix/noid/console-error-share-auth
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Template/CSSResourceLocator.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/Template/CSSResourceLocator.php b/lib/private/Template/CSSResourceLocator.php
index 5047b3e906f..4ebe054ca7b 100644
--- a/lib/private/Template/CSSResourceLocator.php
+++ b/lib/private/Template/CSSResourceLocator.php
@@ -43,8 +43,7 @@ class CSSResourceLocator extends ResourceLocator {
*/
public function doFind($style) {
$app = substr($style, 0, strpos($style, '/'));
- if (strpos($style, '3rdparty') === 0
- && $this->appendIfExist($this->serverroot, $style.'.css')
+ if ($this->appendIfExist($this->serverroot, $style.'.css')
|| $this->appendIfExist($this->serverroot, 'core/'.$style.'.css')
) {
return;