Skip to content

Commit ce2ef2d

Browse files
committed
[Cookbook][Session] Fix session proxy sample code
1 parent 6bc7adb commit ce2ef2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/session/proxy_examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ and decrypt the session as required::
3939

4040
public function read($id)
4141
{
42-
$data = parent::write($id, $data);
42+
$data = parent::read($id);
4343

4444
return mcrypt_decrypt(\MCRYPT_3DES, $this->key, $data);
4545
}

0 commit comments

Comments
 (0)