diff options
author | Faraz Samapoor <f.samapoor@gmail.com> | 2023-05-17 20:41:05 +0330 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 20:41:05 +0330 |
commit | fa31c707c0a4c2a72141b8017e66561710185a06 (patch) | |
tree | bc505e0a208baf6ab9b4b1af107be4b70d269972 /lib/private/TemplateLayout.php | |
parent | 9f6f4b105f04fc2684766e32ee8efc78c2f621f6 (diff) | |
download | nextcloud-server-fa31c707c0a4c2a72141b8017e66561710185a06.tar.gz nextcloud-server-fa31c707c0a4c2a72141b8017e66561710185a06.zip |
Update TemplateLayout.php
https://github.com/nextcloud/server/pull/38261#discussion_r1196711637
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r-- | lib/private/TemplateLayout.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index b99c62731fe..5c6488cbc0f 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -284,7 +284,7 @@ class TemplateLayout extends \OC_Template { } else { $suffix = $this->getVersionHashSuffix($web, $file); - if (!strpos($file, '?v=')) { + if (!str_contains($file, '?v=')) { $this->append('cssfiles', $web.'/'.$file . $suffix); } else { $this->append('cssfiles', $web.'/'.$file . '-' . substr($suffix, 3)); |