fix bug in form builder.

This commit is contained in:
Taylor Otwell committed 2013-02-27 22:19:33 -06:00
1 parent 335535eca7
commit 1e14086a65
1 file changed
+3 -1
+3 -1
View File
@@ -549,9 +549,11 @@ class FormBuilder {
*/ */
protected function getAppendage($method) protected function getAppendage($method)
{ {
$method = strtoupper($method);
if ($method == 'PUT' or $method == 'DELETE') if ($method == 'PUT' or $method == 'DELETE')
{ {
$append = $this->hidden('_method', $method); return $this->hidden('_method', $method);
} }
return ''; return '';