Skip to content
Browse files

Allow field options to be defined in an array of fields

  • Loading branch information...
1 parent 35a409a commit 402de06856fe447f3cb9b2473c452a8f03deb8bf @Howard3 Howard3 committed Dec 8, 2011
Showing with 0 additions and 1 deletion.
  1. +0 −1 template/helper/Form.php
View
1 template/helper/Form.php
@@ -452,7 +452,6 @@ protected function _fields(array $fields, array $options = array()) {
switch (true) {
case is_numeric($field):
$field = $label;
- unset($label);
break;
case is_array($label):
$opts = $label + $opts;

0 comments on commit 402de06

Please sign in to comment.
Something went wrong with that request. Please try again.