Skip to content

Commit 53f4543

Browse files
janschoenherrpe7er
andauthored
[5.2] Fix missing paranthesis (#44742)
Co-authored-by: Peter Martin <[email protected]>
1 parent b337054 commit 53f4543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/src/HTML/HTMLHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ public static function script($file, $options = [], $attribs = [])
832832

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

0 commit comments

Comments
 (0)