X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=time.php;h=f058a21a5a0ef7e625cd86094f4016b5361c64d5;hb=HEAD;hp=2dc8606d02f98316516fca3221b0ee369b1ee4cf;hpb=63de9ce903678e68402aee625f516e3ee2608fbb;p=timetracker.git diff --git a/time.php b/time.php index 2dc8606d..f058a21a 100644 --- a/time.php +++ b/time.php @@ -280,7 +280,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')))); } }