X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/4fdb2cd8b1c8990a7ea8ed40b275dc51174e6585..058d776c118501eb510967c8b870bc346bc39e71:/mobile/time_edit.php diff --git a/mobile/time_edit.php b/mobile/time_edit.php index d9ebdd76..81e5ab8e 100644 --- a/mobile/time_edit.php +++ b/mobile/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 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_delete','value'=>$i18n->getKey('label.delete')));