Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
791dbdeb
Commit
791dbdeb
authored
Dec 09, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #207 from sparksp/fix/session-flush
Fix: Session flush now correctly prepares empty data.
parents
a2aa7418
1f17629b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
changelog.md
changelog.md
+2
-1
payload.php
laravel/session/payload.php
+4
-1
No files found.
changelog.md
View file @
791dbdeb
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
## Version 2.0.5
## Version 2.0.5
-
Fix: Remove orderings before running pagination queries.
-
Fix: Remove orderings before running pagination queries.
-
Fix: Session flush now correctly prepares empty data.
### Upgrading from 2.0.4
### Upgrading from 2.0.4
...
...
laravel/session/payload.php
View file @
791dbdeb
...
@@ -229,7 +229,10 @@ class Payload {
...
@@ -229,7 +229,10 @@ class Payload {
*/
*/
public
function
flush
()
public
function
flush
()
{
{
$this
->
session
[
'data'
]
=
array
();
$this
->
session
[
'data'
]
=
array
(
':new:'
=>
array
(),
':old:'
=>
array
(),
);
}
}
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment