From a824102a1f5b38798de57bf0485541f0c1ef6953 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 14 May 2013 19:56:27 -0500 Subject: [PATCH] Tweak how method is passed in form builder. --- FormBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FormBuilder.php b/FormBuilder.php index 79c5723..671b63f 100755 --- a/FormBuilder.php +++ b/FormBuilder.php @@ -106,7 +106,7 @@ class FormBuilder { // If the method is PUT, PATCH or DELETE we will need to add a spoofer hidden // field that will instruct the Symfony request to pretend the method is a // different method than it actually is, for convenience from the forms. - $append = $this->getAppendage($method); + $append = $this->getAppendage($attributes['method']); if (isset($options['files']) and $options['files']) {