Fix value invalidation in Icinga\Web\Session\SessionNamespace

This commit is contained in:
Johannes Meyer 2014-09-17 09:45:47 +02:00
parent efab6c7827
commit 7fcd665aaa

View File

@ -120,7 +120,7 @@ class SessionNamespace implements IteratorAggregate
$this->values[$key] = $value; $this->values[$key] = $value;
if (in_array($key, $this->removed)) { if (in_array($key, $this->removed)) {
unset($this->removed[array_search($key, $this->values)]); unset($this->removed[array_search($key, $this->removed)]);
} }
return $this; return $this;