X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=cf_custom_field_add.php;h=2eba5b56f404d557111a8f71c73f47cccd3846ca;hb=1c40fb09e97ff643c80e9b96106d891e6fdbde1b;hp=1d293d37733af8d3f5b76d2b630838a32eafb823;hpb=5a6a33edf0ec2ac012715e12c35c7285b64c099b;p=timetracker.git diff --git a/cf_custom_field_add.php b/cf_custom_field_add.php index 1d293d37..2eba5b56 100644 --- a/cf_custom_field_add.php +++ b/cf_custom_field_add.php @@ -50,7 +50,7 @@ $form->addInput(array('type'=>'combobox','name'=>'type', 'data'=>array(CustomFields::TYPE_TEXT=>$i18n->getKey('label.type_text'), CustomFields::TYPE_DROPDOWN=>$i18n->getKey('label.type_dropdown')) )); -$form->addInput(array('type'=>'checkbox','name'=>'required','data'=>1,'value'=>'0')); +$form->addInput(array('type'=>'checkbox','name'=>'required')); $form->addInput(array('type'=>'submit','name'=>'btn_add','value'=>$i18n->getKey('button.add'))); if ($request->isPost()) {