Skip to content

Commit

Permalink
Fix set() call
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Apr 8, 2014
1 parent 886828c commit 65f6dd3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion framework/Core/lib/Horde/Core/Cache/Session.php
Expand Up @@ -98,7 +98,11 @@ public function set($key, $data, $lifetime = 0)
$this->_saveStored();
$session->remove($this->_params['app'], $key);
} else {
$session->set($this->_params['app'], $this->_getCid($key, true));
$session->set(
$this->_params['app'],
$this->_getCid($key, true),
$data
);
if (isset($this->_stored[$key])) {
unset($this->_stored[$key]);
$this->_saveStored();
Expand Down

0 comments on commit 65f6dd3

Please sign in to comment.