X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/4070ac772a00d8ffb9590ffdeca10e5d494c26e2..a4d1c5627c3958245ea7e2e573267e34f5872471:/mobile/user_edit.php diff --git a/mobile/user_edit.php b/mobile/user_edit.php index 6077a13a..96532d90 100644 --- a/mobile/user_edit.php +++ b/mobile/user_edit.php @@ -135,9 +135,9 @@ class NameCellRenderer extends DefaultCellRenderer { 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) {