Skip to content

Commit c3b90f7

Browse files
committed
add the query to the parsed URL
1 parent 8158267 commit c3b90f7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/HtmlField.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,9 +405,7 @@ function($matches) use ($element, $elementsService) {
405405
if ($query) {
406406
// Decode any HTML entities, e.g. &
407407
$query = Html::decode($query);
408-
if (mb_strpos($parsed, $query) !== false) {
409-
$parsed = UrlHelper::urlWithParams($parsed, $query);
410-
}
408+
$parsed = UrlHelper::urlWithParams($parsed, $query);
411409
}
412410

413411
// Make sure the ref handle matches the real ref handle from the resolved element type

0 commit comments

Comments
 (0)