Show
Ignore:
Timestamp:
03/08/2008 10:29:26 AM (10 months ago)
Author:
Shadowhand
Message:

Fixing a bug, http://forum.kohanaphp.com/comments.php?DiscussionID=110&page=1#Item_0

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/drivers/Session/Cookie.php

    r2234 r2240  
    4949        public function write($id, $data) 
    5050        { 
    51                 $data = empty($this->encrypt) ? base64_encode($data) ? $this->encrypt->encode($data); 
     51                $data = empty($this->encrypt) ? base64_encode($data) : $this->encrypt->encode($data); 
    5252 
    5353                if (strlen($data) > 4048)