Skip to content

Commit 118a587

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: fix merge [AssetMapper] Split test dirs in tests Fix typo Change incorrect check for the `stateless` request attribute [Validator] add setGroupProvider to AttributeLoader 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 82b2224 + 8611951 commit 118a587

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
@@ -174,7 +174,7 @@ public function searchBarAction(Request $request): Response
174174
$this->cspHandler?->disableCsp();
175175

176176
$session = null;
177-
if ($request->attributes->getBoolean('_stateless') && $request->hasSession()) {
177+
if (!$request->attributes->getBoolean('_stateless') && $request->hasSession()) {
178178
$session = $request->getSession();
179179
}
180180

0 commit comments

Comments
 (0)