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:
Fabien Potencier 2013-07-10 09:34:46 +02:00
commit 183ff09bf1
1 changed files with 1 additions and 1 deletions

View File

@ -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);