X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/3a5964df63eb410b66e02326ebc7f7c90e8d606e..61efd9d023ae34c1290ef2e1ae25829c509caaee:/user_edit.php diff --git a/user_edit.php b/user_edit.php index 8f71e55f..5fd3b7ec 100644 --- a/user_edit.php +++ b/user_edit.php @@ -137,13 +137,13 @@ class RateCellRenderer extends DefaultCellRenderer { global $assigned_projects; $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) { if ($p['id'] == $table->getValueAtName($row,'id')) $field->setValue($p['rate']); } - $this->setValue($field->toStringControl()); + $this->setValue($field->getHtml()); return $this->toString(); } }