Skip to content

Commit

Permalink
[5.2] Fix missing brackets (#44739)
Browse files Browse the repository at this point in the history
  • Loading branch information
janschoenherr authored Jan 17, 2025
1 parent ecb5151 commit 276c7a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/HTML/HTMLHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ public static function stylesheet($file, $options = [], $attribs = [])

foreach ($includes as $include) {
// If there is already a version hash in the script reference (by using deprecated MD5SUM).
if ($pos = strpos($include, '?') !== false) {
if (($pos = strpos($include, '?')) !== false) {
$options['version'] = substr($include, $pos + 1);
}

Expand Down

0 comments on commit 276c7a1

Please sign in to comment.