diff options
author | Jamie Burchell <jamieburchell@users.noreply.github.com> | 2022-02-04 13:34:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-04 13:34:13 +0100 |
commit | 6db00c58bdd75e20ea58f6a1a5efe5f86ff4c2d7 (patch) | |
tree | 0a22bf52ffb50618efd4a5fe8d756f2e47812c6c /system | |
parent | 068640932168c263db30a969e7364fe8a3f53572 (diff) |
Fix passing NULL to setcookie value parameter
Fixes Passing null to parameter #2 ($value) of type string is deprecated
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Session/Session_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session/Session_driver.php b/system/libraries/Session/Session_driver.php index b1b1b073e..ec4b76841 100644 --- a/system/libraries/Session/Session_driver.php +++ b/system/libraries/Session/Session_driver.php @@ -153,7 +153,7 @@ abstract class CI_Session_driver { return setcookie( $this->_config['cookie_name'], - NULL, + '', array( 'expires' => 1, 'path' => $this->_config['cookie_path'], |