Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
4ae1f447
Commit
4ae1f447
authored
Apr 30, 2017
by
Carsten Rose
Browse files
Session.php: Fix - close running session only if it is not already closed.
parent
2ad1b457
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/store/Session.php
View file @
4ae1f447
...
...
@@ -45,7 +45,10 @@ class Session {
* Free a lock on the current session
*/
public
static
function
close
()
{
session_write_close
();
if
(
self
::
$sessionOpen
)
{
session_write_close
();
}
self
::
$sessionOpen
=
false
;
}
...
...
Write
Preview
Supports
Markdown
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