]> wagnertech.de Git - timetracker.git/blobdiff - mobile/time_edit.php
Added user custom fields on user_edit.php page.
[timetracker.git] / mobile / time_edit.php
index 364ebaf8201e2f5803727dbe50318b0a0998f96e..c3a7ccd7825c4fc0744677b895102274e89559c3 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'))));
   }
 }