X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/05b0f8e4762b8a2ca2002a8f7545b7ff68cc3925..4fdb2cd8b1c8990a7ea8ed40b275dc51174e6585:/reports.php?ds=sidebyside diff --git a/reports.php b/reports.php index add2b43f..989bf5f3 100644 --- a/reports.php +++ b/reports.php @@ -184,7 +184,7 @@ if ((TYPE_START_FINISH == $user->record_type) || (TYPE_ALL == $user->record_type $form->addInput(array('type'=>'checkbox','name'=>'chfinish','data'=>1)); } $form->addInput(array('type'=>'checkbox','name'=>'chduration','data'=>1)); -$form->addInput(array('type'=>'checkbox','name'=>'chnote','data'=>1)); +$form->addInput(array('type'=>'checkbox','name'=>'chnote','checked'=>true, 'data'=>1)); if (defined('COST_ON_REPORTS') && isTrue(COST_ON_REPORTS)) $form->addInput(array('type'=>'checkbox','name'=>'chcost','data'=>1)); // If we have a custom field - add a checkbox for it. @@ -242,7 +242,7 @@ $form->setValueByElement('fav_report_changed',''); // Disable the Delete button when no favorite report is selected. if (!$bean->getAttribute('favorite_report') || ($bean->getAttribute('favorite_report') == -1)) - $form->getElement('btn_delete')->setEnable(false); + $form->getElement('btn_delete')->setEnabled(false); if ($request->isPost()) { if((!$bean->getAttribute('btn_generate') && ($request->getParameter('fav_report_changed')))) {