summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session.php b/system/libraries/Session.php
index e3fe16b00..ed5f9c3a3 100644
--- a/system/libraries/Session.php
+++ b/system/libraries/Session.php
@@ -711,7 +711,7 @@ class CI_Session {
{
foreach ($data as $key => $val)
{
- $data[$key] = str_replace('{{slash}}', '\\', $str);
+ $data[$key] = str_replace('{{slash}}', '\\', $val);
}
return $data;