X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=time_edit.php;h=4484a20cc282fddc407f0241d255fbba5cfa411f;hb=725d5bd358b2ee204e4298d2634d1a0f9a62654b;hp=c05b077419edd8711ac39c31eacb901095189424;hpb=04bc6bdd39d67bcf9f63d8af4b067f1fafc06f8a;p=timetracker.git diff --git a/time_edit.php b/time_edit.php index c05b0774..4484a20c 100644 --- a/time_edit.php +++ b/time_edit.php @@ -202,7 +202,7 @@ if ($custom_fields && $custom_fields->fields[0]) { // Hidden control for record id. $form->addInput(array('type'=>'hidden','name'=>'id','value'=>$cl_id)); if ($user->isPluginEnabled('iv')) - $form->addInput(array('type'=>'checkbox','name'=>'billable','data'=>1,'value'=>$cl_billable)); + $form->addInput(array('type'=>'checkbox','name'=>'billable','value'=>$cl_billable)); $form->addInput(array('type'=>'hidden','name'=>'browser_today','value'=>'')); // User current date, which gets filled in on btn_save or btn_copy click. $form->addInput(array('type'=>'submit','name'=>'btn_save','onclick'=>'browser_today.value=get_date()','value'=>$i18n->getKey('button.save'))); $form->addInput(array('type'=>'submit','name'=>'btn_copy','onclick'=>'browser_today.value=get_date()','value'=>$i18n->getKey('button.copy')));