From 118068d218e38da316758832a6a0b37bdab511b9 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 29 Apr 2013 16:20:48 -0500 Subject: [PATCH] Upper case on method check. Fixes #1109. --- FormBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FormBuilder.php b/FormBuilder.php index c6fb6c3..d564851 100644 --- a/FormBuilder.php +++ b/FormBuilder.php @@ -573,7 +573,7 @@ class FormBuilder { */ protected function getMethod($method) { - return $method != 'GET' ? 'POST' : $method; + return strtoupper($method) != 'GET' ? 'POST' : $method; } /**