Fixing session write use issue.

This commit is contained in:
predominant 2010-07-12 10:31:31 +10:00 committed by mark_story
parent dd3e0facd2
commit 4e9d76e806

View file

@ -217,7 +217,7 @@ class CakeSession {
* @return boolean True if session has been started. * @return boolean True if session has been started.
*/ */
public static function started() { public static function started() {
return isset($_SESSION) && !empty(session_id()); return isset($_SESSION) && session_id();
} }
/** /**