Skip to content
Snippets Groups Projects
Commit f9f1e260 authored by Demian Katz's avatar Demian Katz
Browse files

Merge branch 'release-4.1'

parents c224afea 47f0f555
No related merge requests found
...@@ -86,7 +86,8 @@ class Memcache extends AbstractBase ...@@ -86,7 +86,8 @@ class Memcache extends AbstractBase
*/ */
public function read($sess_id) public function read($sess_id)
{ {
return $this->getConnection()->get("vufind_sessions/{$sess_id}"); $value = $this->getConnection()->get("vufind_sessions/{$sess_id}");
return empty($value) ? '' : $value;
} }
/** /**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment