mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Removing additional call to camelize(). Fixes #913
This commit is contained in:
parent
15435e9d6f
commit
21f359bff9
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ class FormHelper extends AppHelper {
|
|||
0 => $id
|
||||
);
|
||||
if (!empty($options['action']) && !isset($options['id'])) {
|
||||
$options['id'] = $this->domId(Inflector::camelize($options['action']) . 'Form');
|
||||
$options['id'] = $this->domId($options['action'] . 'Form');
|
||||
}
|
||||
$options['action'] = array_merge($actionDefaults, (array)$options['url']);
|
||||
} elseif (is_string($options['url'])) {
|
||||
|
|
Loading…
Add table
Reference in a new issue