summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session.php
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-09-08 16:34:35 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-09-08 16:34:35 +0200
commite500ce4a8a0c98602601553615daed52d2ad1f36 (patch)
tree484f98e9c8000d80ba35130bfdd0f29d5275c341 /system/libraries/Session.php
parent8366f318258479ad82d044ff274ef3c98d452204 (diff)
parentf2d4eb599b52089989073b7c9a2c54df85732c66 (diff)
Merge pull request #345 from kylefarris/patch-1
Session Class - 'user_data' Has No Default Value
Diffstat (limited to 'system/libraries/Session.php')
-rw-r--r--system/libraries/Session.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/libraries/Session.php b/system/libraries/Session.php
index 2c8a80163..8ee08c5b2 100644
--- a/system/libraries/Session.php
+++ b/system/libraries/Session.php
@@ -317,7 +317,8 @@ class CI_Session {
'session_id' => md5(uniqid($sessid, TRUE)),
'ip_address' => $this->CI->input->ip_address(),
'user_agent' => substr($this->CI->input->user_agent(), 0, 120),
- 'last_activity' => $this->now
+ 'last_activity' => $this->now,
+ 'user_data' => ''
);