merged branch jfsimon/issue-8450 (PR #8462)
This PR was submitted for the master branch but it was merged into the 2.2 branch instead (closes #8462). Discussion ---------- [HttpKernel] fixed inline fragment renderer | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #8450 | License | MIT | Doc PR | none Commits ------- 1554f1f [HttpKernel] fixed inline fragment renderer
This commit is contained in:
commit
183ff09bf1
|
@ -55,7 +55,7 @@ class InlineFragmentRenderer extends RoutableFragmentRenderer
|
|||
$attributes = $reference->attributes;
|
||||
$reference->attributes = array();
|
||||
$uri = $this->generateFragmentUri($uri, $request);
|
||||
$reference->attributes = $attributes;
|
||||
$reference->attributes = array_merge($attributes, $reference->attributes);
|
||||
}
|
||||
|
||||
$subRequest = $this->createSubRequest($uri, $request);
|
||||
|
|
Reference in New Issue