cphalcon
cphalcon copied to clipboard
[BUG] \Phalcon\Session\Bag::remove() don't work
at first:
$robotBag = new \Phalcon\Session\Bag('test');
$robotBag->setDI($this->getDI());
$robotBag->foo = 'bar'; //set value
then:
$robotBag = new \Phalcon\Session\Bag('test');
$robotBag->setDI($this->getDI());
$robotBag->remove('foo'); //remove
echo $robotBag->foo; // will display "bar", removing failed
phalcon version 1.0.1
This is fixed in the 1.1.0 branch, thanks