X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=expense_edit.php;h=db26f1b64d9dcfacd3909a1bcc62fedf501eee61;hb=b35ed34767de056ad0adef9d85060b587c1f6ce2;hp=4a32afca566a0c859cde627b30714c7f85939f4a;hpb=600a2f9ba49efc6f40a2693306f4be69acabd6a0;p=timetracker.git diff --git a/expense_edit.php b/expense_edit.php index 4a32afca..db26f1b6 100644 --- a/expense_edit.php +++ b/expense_edit.php @@ -119,7 +119,7 @@ if (MODE_PROJECTS == $user->tracking_mode || MODE_PROJECTS_AND_TASKS == $user->t 'empty'=>array(''=>$i18n->getKey('dropdown.select')))); } } -$form->addInput(array('type'=>'textarea', 'name'=>'item_name','style'=>'width: 250px; height:'.NOTE_INPUT_HEIGHT.'px;','value'=>$cl_item_name)); +$form->addInput(array('type'=>'textarea','maxlength'=>'800','name'=>'item_name','style'=>'width: 250px; height:'.NOTE_INPUT_HEIGHT.'px;','value'=>$cl_item_name)); $form->addInput(array('type'=>'text','maxlength'=>'40','name'=>'cost','style'=>'width: 100px;','value'=>$cl_cost)); $form->addInput(array('type'=>'datefield','name'=>'date','maxlength'=>'20','value'=>$cl_date)); // Hidden control for record id.