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:
phpnut 2007-10-22 17:30:14 +00:00
parent f5be2ded4b
commit 5a270f2220

View file

@ -239,7 +239,7 @@ class FormHelper extends AppHelper {
unset($options['submit']);
if (isset($options['label'])) {
$submitOptions = $options['label'];
$submit = $options['label'];
unset($options['label']);
}
}