Skip to content

Commit 8611951

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: fix merge [AssetMapper] Split test dirs in tests Fix typo Change incorrect check for the `stateless` request attribute use copy() instead of rename() on Windows test: kebab-case to snake_case [PropertyInfo] Handle collection in PhpStan same as PhpDoc [Messenger] Passing to `WorkerMessageRetriedEvent` envelope with actual stamps after sent
2 parents 87fd2d5 + 20a873f commit 8611951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controller/ProfilerController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public function searchBarAction(Request $request): Response
180180
$this->cspHandler?->disableCsp();
181181

182182
$session = null;
183-
if ($request->attributes->getBoolean('_stateless') && $request->hasSession()) {
183+
if (!$request->attributes->getBoolean('_stateless') && $request->hasSession()) {
184184
$session = $request->getSession();
185185
}
186186

0 commit comments

Comments
 (0)