cphalcon icon indicating copy to clipboard operation
cphalcon copied to clipboard

[BUG] \Phalcon\Session\Bag::remove() don't work

Open beermeat opened this issue 13 years ago • 1 comments

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

beermeat avatar Apr 19 '13 15:04 beermeat

This is fixed in the 1.1.0 branch, thanks

ghost avatar Apr 30 '13 13:04 ghost