[HttpFoundation] fixed typo

This commit is contained in:
Fabien Potencier 2010-08-29 20:28:33 +02:00
parent 7b5545b278
commit ed33ce4d5f

View File

@ -151,7 +151,7 @@ class Session implements \Serializable
*/
public function remove($name)
{
if (array_key_exists($this->attributes, $name)) {
if (array_key_exists($name, $this->attributes)) {
if (false === $this->started) {
$this->start();
}