fix bug in form builder.
This commit is contained in:
1 parent
335535eca7
commit
1e14086a65
1 file changed
+3
-1
+3
-1
@@ -549,9 +549,11 @@ class FormBuilder {
|
||||
*/
|
||||
protected function getAppendage($method)
|
||||
{
|
||||
$method = strtoupper($method);
|
||||
|
||||
if ($method == 'PUT' or $method == 'DELETE')
|
||||
{
|
||||
$append = $this->hidden('_method', $method);
|
||||
return $this->hidden('_method', $method);
|
||||
}
|
||||
|
||||
return '';
|
||||
|
||||
Reference in new issue
Block a user