Skip to content

Commit 3fd233e

Browse files
authored
Update MemcachedHandler.php
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
1 parent ff0748e commit 3fd233e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Session/Handlers/MemcachedHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public function read($sessionID)
189189
return $session_data;
190190
}
191191

192-
return false;
192+
return '';
193193
}
194194

195195
//--------------------------------------------------------------------

0 commit comments

Comments
 (0)