Skip to content

Commit

Permalink
FIX - rector changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aus-DominikHalle committed Oct 8, 2024
1 parent 322ce99 commit ee44a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/ViewHelpers/RenderIncludeViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static function renderStatic(array $arguments, Closure $renderChildrenClo
}

$method = self::getExtensionConfiguration()->get('ssi_include', 'method') ?: self::METHOD_SSI;
$reqUrl = $basePath . '?ssi_include=' . $filename . '&originalRequestUri=' . urlencode($_SERVER['REQUEST_URI']);
$reqUrl = $basePath . '?ssi_include=' . $filename . '&originalRequestUri=' . urlencode((string) $_SERVER['REQUEST_URI']);
if ($method === self::METHOD_ESI) {
return '<esi:include src="' . $reqUrl . '" />';
}
Expand Down

0 comments on commit ee44a35

Please sign in to comment.