Skip to content

Commit

Permalink
Fix CLI session ID to be set, resolves regression.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Sep 6, 2017
1 parent fd6ed92 commit 2dbbc08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Network/Session.php
Expand Up @@ -455,7 +455,7 @@ public function write($name, $value = null)
*/
public function id($id = null)
{
if ($id !== null && !headers_sent()) {
if ($id !== null) {
session_id($id);
}

Expand Down

0 comments on commit 2dbbc08

Please sign in to comment.