mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Disabling REST-compliant hidden field temporarily
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4399 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
9c4766f3bb
commit
5a8cc752f1
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class FormHelper extends AppHelper {
|
|||
case 'post':
|
||||
case 'put':
|
||||
case 'delete':
|
||||
$append .= $this->hidden('_method', array('value' => up($options['type']), 'id' => $options['id'] . 'Method'));
|
||||
//$append .= $this->hidden('_method', array('value' => up($options['type']), 'id' => $options['id'] . 'Method'));
|
||||
default:
|
||||
$htmlAttributes['method'] = 'post';
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue