Upper case on method check. Fixes #1109.
This commit is contained in:
1 parent
a18fa242f1
commit
118068d218
1 file changed
+1
-1
+1
-1
@@ -573,7 +573,7 @@ class FormBuilder {
|
|||||||
*/
|
*/
|
||||||
protected function getMethod($method)
|
protected function getMethod($method)
|
||||||
{
|
{
|
||||||
return $method != 'GET' ? 'POST' : $method;
|
return strtoupper($method) != 'GET' ? 'POST' : $method;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user