projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added user input validation for custom fields on user_add.php.
[timetracker.git]
/
time_edit.php
diff --git
a/time_edit.php
b/time_edit.php
index
bb04573
..
aceff02
100644
(file)
--- a/
time_edit.php
+++ b/
time_edit.php
@@
-202,7
+202,7
@@
if ($custom_fields && $custom_fields->fields[0]) {
'name'=>'cf_1',
'style'=>'width: 250px;',
'value'=>$cl_cf_1,
- 'data'=>
$custom_fields->options
,
+ 'data'=>
CustomFields::getOptions($custom_fields->fields[0]['id'])
,
'empty' => array('' => $i18n->get('dropdown.select'))));
}
}