Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit af73a47

Browse filesBrowse files
committed
minor #12492 [HttpKernel] Add consistency with request type checking (blanchonvincent)
This PR was submitted for the master branch but it was merged into the 2.5 branch instead (closes #12492). Discussion ---------- [HttpKernel] Add consistency with request type checking | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 1852f85 Add consistency with request type checking
2 parents 679911c + 1852f85 commit af73a47
Copy full SHA for af73a47

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/HttpKernel/EventListener/SaveSessionListener.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/EventListener/SaveSessionListener.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class SaveSessionListener implements EventSubscriberInterface
4747
{
4848
public function onKernelResponse(FilterResponseEvent $event)
4949
{
50-
if (HttpKernelInterface::MASTER_REQUEST !== $event->getRequestType()) {
50+
if (!$event->isMasterRequest()) {
5151
return;
5252
}
5353

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.