Hello guys,
Does anyone else encounter the following error or is it just me?

Notice: Indirect modification of overloaded element of
Zend\Session\Storage\SessionStorage has no effect in
\Zend\Session\Container.php on line 438


I'm running PHP 5.3.14 and ZF 2.1.0.

The error is fired on the last line of the following function in
Zend\Session\Container:

    public function offsetUnset($key)
    {
        if (!$this->offsetExists($key)) {
            return;
        }
        $storage = $this->getStorage();
        $name    = $this->getName();
        unset($storage[$name][$key]);
    }

And the following change seems to fix the problem:

        unset($storage->{$name}[$key]);

Reply via email to