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 d641cd6

Browse filesBrowse files
author
Thomas Adam
committed
[Session] fixed wrong started states
1 parent b00289a commit d641cd6
Copy full SHA for d641cd6

File tree

2 files changed

+2
-0
lines changed
Filter options

2 files changed

+2
-0
lines changed

‎src/Symfony/Component/HttpFoundation/Session/Storage/MockArraySessionStorage.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Session/Storage/MockArraySessionStorage.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ public function save()
164164
}
165165
// nothing to do since we don't persist the session data
166166
$this->closed = false;
167+
$this->started = false;
167168
}
168169

169170
/**

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ public function save()
239239
}
240240

241241
$this->closed = true;
242+
$this->started = false;
242243
}
243244

244245
/**

0 commit comments

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