Browse Source

Update TemplateLayout.php

https://github.com/nextcloud/server/pull/38261#discussion_r1196711637

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
pull/38261/head
Faraz Samapoor 2 years ago
committed by GitHub
parent
commit
fa31c707c0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/private/TemplateLayout.php

2
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));

Loading…
Cancel
Save