Refactoring custom fields in progress.
[timetracker.git] / mobile / time_edit.php
index 364ebaf..c3a7ccd 100644 (file)
@@ -199,7 +199,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'))));
   }
 }