projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactoring custom fields in progress.
[timetracker.git]
/
mobile
/
time.php
diff --git
a/mobile/time.php
b/mobile/time.php
index
5a5c054
..
9965216
100644
(file)
--- a/
mobile/time.php
+++ b/
mobile/time.php
@@
-223,7
+223,7
@@
if ($custom_fields && $custom_fields->fields[0]) {
$form->addInput(array('type'=>'combobox','name'=>'cf_1',
'style'=>'width: 250px;',
'value'=>$cl_cf_1,
$form->addInput(array('type'=>'combobox','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'))));
}
}
'empty'=>array(''=>$i18n->get('dropdown.select'))));
}
}