From 68af5288132ad363d2a3343a40d5461f0f0b4e58 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 18 Aug 2010 13:44:52 +0200 Subject: [PATCH] [FrameworkBundle] fixed typo --- .../Bundle/FrameworkBundle/Controller/InternalController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/InternalController.php b/src/Symfony/Bundle/FrameworkBundle/Controller/InternalController.php index dd1de27d03..d5c924ccf5 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Controller/InternalController.php +++ b/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);