X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/2a998c95dd9e86a9ad57939b056b62cab7402b08..a4d1c5627c3958245ea7e2e573267e34f5872471:/user_edit.php
diff --git a/user_edit.php b/user_edit.php
index 0dc7afb3..b3f41116 100644
--- a/user_edit.php
+++ b/user_edit.php
@@ -128,16 +128,16 @@ $form->addInput(array('type'=>'floatfield','maxlength'=>'10','name'=>'rate','for
class NameCellRenderer extends DefaultCellRenderer {
function render(&$table, $value, $row, $column, $selected = false) {
$this->setOptions(array('width'=>200,'valign'=>'top'));
- $this->setValue('');
+ $this->setValue('');
return $this->toString();
}
}
class RateCellRenderer extends DefaultCellRenderer {
function render(&$table, $value, $row, $column, $selected = false) {
global $assigned_projects;
- $field = new FloatField('rate_'.$table->getValueAtName($row,'id'), $table->getValueAtName($row, 'p_rate'));
+ $field = new FloatField('rate_'.$table->getValueAtName($row,'id'));
$field->setFormName($table->getFormName());
- $field->setLocalization($GLOBALS['I18N']);
+ $field->localize($GLOBALS['I18N']);
$field->setSize(5);
$field->setFormat('.2');
foreach ($assigned_projects as $p) {