Skip to content

Commit

Permalink
Update TemplateLayout.php
Browse files Browse the repository at this point in the history
#38261 (comment)

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
  • Loading branch information
fsamapoor authored May 17, 2023
1 parent 9f6f4b1 commit fa31c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/TemplateLayout.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public function __construct($renderAs, $appId = '') {
} 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));
Expand Down

0 comments on commit fa31c70

Please sign in to comment.