From 7fcd665aaad3b49d6b4abd471797f1e683bded8d Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 17 Sep 2014 09:45:47 +0200 Subject: [PATCH] Fix value invalidation in Icinga\Web\Session\SessionNamespace --- library/Icinga/Web/Session/SessionNamespace.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Session/SessionNamespace.php b/library/Icinga/Web/Session/SessionNamespace.php index fec3c5dca..02a33dcd4 100644 --- a/library/Icinga/Web/Session/SessionNamespace.php +++ b/library/Icinga/Web/Session/SessionNamespace.php @@ -120,7 +120,7 @@ class SessionNamespace implements IteratorAggregate $this->values[$key] = $value; if (in_array($key, $this->removed)) { - unset($this->removed[array_search($key, $this->values)]); + unset($this->removed[array_search($key, $this->removed)]); } return $this;