Skip to content

Commit

Permalink
Update MemcachedHandler.php
Browse files Browse the repository at this point in the history
bug #1676 

 read(string $sessionId)
    The read callback must always return a session encoded (serialized) string, or an empty string if there is no data to read. 


It was causing an exception as is in #1676
  • Loading branch information
nowackipawel authored Jan 21, 2019
1 parent ff0748e commit 3fd233e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Session/Handlers/MemcachedHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public function read($sessionID)
return $session_data;
}

return false;
return '';
}

//--------------------------------------------------------------------
Expand Down

0 comments on commit 3fd233e

Please sign in to comment.