Skip to content

Commit 10329c7

Browse files
committed
CS
1 parent 834777c commit 10329c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ public function save()
269269
restore_error_handler();
270270

271271
// Restore only if not empty
272-
if (!empty($_SESSION)) {
272+
if ($_SESSION) {
273273
$_SESSION = $session;
274274
}
275275
}

0 commit comments

Comments
 (0)