소스 검색

[FrameworkBundle] fixed typo

Fabien Potencier 14 년 전
부모
커밋
68af528813
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/Symfony/Bundle/FrameworkBundle/Controller/InternalController.php

+ 2 - 1
src/Symfony/Bundle/FrameworkBundle/Controller/InternalController.php

@@ -34,7 +34,8 @@ class InternalController extends Controller
         $request = $this['request'];
         $attributes = $request->attributes;
 
-        unset($attributes['path'], $attributes['controller']);
+        $attributes->delete('path');
+        $attributes->delete('controller');
         if ('none' !== $path)
         {
             parse_str($path, $tmp);