소스 검색

[HttpFoundation] fixed typo

Fabien Potencier 14 년 전
부모
커밋
ed33ce4d5f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Component/HttpFoundation/Session.php

+ 1 - 1
src/Symfony/Component/HttpFoundation/Session.php

@@ -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();
             }