]> wagnertech.de Git - timetracker.git/blobdiff - mobile/timer.php
Refactoring custom fields in progress.
[timetracker.git] / mobile / timer.php
index 667536324de14442e359a096af24fad8db5ccba7..d814637f6ec9ac134b023e4fb5a84ad7c3fb8d24 100644 (file)
@@ -173,7 +173,7 @@ if ($custom_fields && $custom_fields->fields[0]) {
     $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'))
     ));
   }