summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session/drivers
diff options
context:
space:
mode:
authorGeorge Petculescu <gxgpet@gmail.com>2022-06-26 15:11:29 +0200
committerGeorge Petculescu <gxgpet@gmail.com>2022-06-26 15:11:29 +0200
commit3efe7f0d070ad530208ea4f732708c1e660df0a7 (patch)
tree30f8b82cb8c7e4d037783f2967eafb6c79165c06 /system/libraries/Session/drivers
parent87f9ac6ca2eb125f5991243865e7e5e96fd3987b (diff)
Fixes #6141
Diffstat (limited to 'system/libraries/Session/drivers')
-rw-r--r--system/libraries/Session/drivers/Session_redis_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session/drivers/Session_redis_driver.php b/system/libraries/Session/drivers/Session_redis_driver.php
index 2614aa37e..4d822d585 100644
--- a/system/libraries/Session/drivers/Session_redis_driver.php
+++ b/system/libraries/Session/drivers/Session_redis_driver.php
@@ -143,7 +143,7 @@ class CI_Session_redis_driver extends CI_Session_driver implements CI_Session_dr
$save_path = array(
'host' => $matches[1],
'port' => empty($matches[2]) ? NULL : $matches[2],
- 'timeout' => NULL // We always pass this to Redis::connect(), so it needs to exist
+ 'timeout' => 0.0 // We always pass this to Redis::connect(), so it needs to exist
);
}
else