mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Code cleanup
This commit is contained in:
parent
c8aefeb495
commit
25d597910f
1 changed files with 1 additions and 2 deletions
|
@ -1088,8 +1088,7 @@ class FormHelper extends AppHelper {
|
||||||
|
|
||||||
if (!empty($divOptions['tag'])) {
|
if (!empty($divOptions['tag'])) {
|
||||||
$tag = $divOptions['tag'];
|
$tag = $divOptions['tag'];
|
||||||
unset($divOptions['tag']);
|
unset($divOptions['tag'], $divOptions['errorClass']);
|
||||||
unset($divOptions['errorClass']);
|
|
||||||
$output = $this->Html->tag($tag, $output, $divOptions);
|
$output = $this->Html->tag($tag, $output, $divOptions);
|
||||||
}
|
}
|
||||||
return $output;
|
return $output;
|
||||||
|
|
Loading…
Reference in a new issue