X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=week.php;h=9af3564414f5d4e86efaccad1f6416f1b8cad5c3;hb=19b674dca67d52e7ec2ea49046f31e68fc6facf4;hp=1c8efe75a7ecd6d5b2afa0b8d3f286a825a154cc;hpb=066efce7ef712710e229308b6099f5af410aecb8;p=timetracker.git diff --git a/week.php b/week.php index 1c8efe75..9af35644 100644 --- a/week.php +++ b/week.php @@ -338,7 +338,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')))); } }