mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing session write use issue.
This commit is contained in:
parent
dd3e0facd2
commit
4e9d76e806
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ class CakeSession {
|
|||
* @return boolean True if session has been started.
|
||||
*/
|
||||
public static function started() {
|
||||
return isset($_SESSION) && !empty(session_id());
|
||||
return isset($_SESSION) && session_id();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue