Upper case on method check. Fixes #1109.

This commit is contained in:
Taylor Otwell committed 2013-04-29 16:20:48 -05:00
1 parent a18fa242f1
commit 118068d218
1 file changed
+1 -1
+1 -1
View File
@@ -573,7 +573,7 @@ class FormBuilder {
*/
protected function getMethod($method)
{
return $method != 'GET' ? 'POST' : $method;
return strtoupper($method) != 'GET' ? 'POST' : $method;
}
/**