root/ip/tags/release_1_3_0_53/includes/class_form.php
| 111 | 163 | ||
|---|---|---|---|
214 | } | 214 | } |
215 | 215 | ||
216 | // We want to force each value the user isn't allowed to add/edit to the default value | 216 | // We want to force each value the user isn't allowed to add/edit to the default value |
217 | if (($k != $item_id) && ((($action == 'add') && !check_auth_level($v['input_level'])) || (($action == 'edit') && !check_auth_level($v['edit_level'])))) | 217 | if (($k != $item_id) && ((($action == 'add') && !check_auth_level($v['input_level'])) || (($v['type'] != 'HIDDEN') && ($action == 'edit') && !check_auth_level($v['edit_level'])))) |
218 | { | 218 | { |
219 | $inputs_array[$k] = $v['default']; | 219 | $inputs_array[$k] = $v['default']; |
220 | } | 220 | } |
Download diff