Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DbSessionBackend->read() should not return null but empty string.
  • Loading branch information
kaorukobo committed Mar 27, 2017
1 parent 4cc6a35 commit 424bfc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/class.ostsession.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ function read($id) {
}
catch (DoesNotExist $e) {
$this->data = new SessionData(['session_id' => $id]);
$this->data->session_data = "";
}
catch (OrmException $e) {
return false;
Expand Down

0 comments on commit 424bfc9

Please sign in to comment.