mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Fixes #3435, In FormHelper::end($options), unable to use $options['submit'] with $options['label']
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5863 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
f5be2ded4b
commit
5a270f2220
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ class FormHelper extends AppHelper {
|
|||
unset($options['submit']);
|
||||
|
||||
if (isset($options['label'])) {
|
||||
$submitOptions = $options['label'];
|
||||
$submit = $options['label'];
|
||||
unset($options['label']);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue