Skip to content

Commit

Permalink
Fixing return value of CakeSession::__startSession(). Once headers we…
Browse files Browse the repository at this point in the history
…re sent any further session objects would think that the session was not successfully started. Fixes issues in Helper group test. Also fixes #568
  • Loading branch information
markstory committed Apr 11, 2010
1 parent 540157b commit 42bc252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/cake_session.php
Expand Up @@ -583,7 +583,7 @@ function __startSession() {
if (empty($_SESSION)) {
$_SESSION = array();
}
return false;
return true;
} elseif (!isset($_SESSION)) {
session_cache_limiter ("must-revalidate");
session_start();
Expand Down

0 comments on commit 42bc252

Please sign in to comment.