Changeset 2593 for trunk/modules/forge/libraries/Form_Checklist.php
- Timestamp:
- 04/28/08 15:04:22 (4 months ago)
- Files:
-
- 1 modified
-
trunk/modules/forge/libraries/Form_Checklist.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/forge/libraries/Form_Checklist.php
r2022 r2593 33 33 // Return the currently checked values 34 34 $array = array(); 35 foreach ($this->data['options'] as $id => $opt)35 foreach ($this->data['options'] as $id => $opt) 36 36 { 37 37 // Return the options that are checked … … 56 56 57 57 $checklist = '<ul class="'.arr::remove('class', $base_data).'">'.$nl; 58 foreach (arr::remove('options', $base_data) as $val => $opt)58 foreach (arr::remove('options', $base_data) as $val => $opt) 59 59 { 60 60 // New set of input data … … 77 77 protected function load_value() 78 78 { 79 foreach ($this->data['options'] as $val => $checked)79 foreach ($this->data['options'] as $val => $checked) 80 80 { 81 81 if ($input = $this->input_value($this->data['name']))
