Permalink
Browse files

Code cleanup

  • Loading branch information...
mvdriel committed Mar 8, 2017
1 parent c8aefeb commit 25d597910f7f868e2c483ac13e1007990c793847
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/Cake/View/Helper/FormHelper.php
@@ -1088,8 +1088,7 @@ public function input($fieldName, $options = array()) {
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;

0 comments on commit 25d5979

Please sign in to comment.