Soem refactoring to keep things a bit more consistent.
[timetracker.git] / user_add.php
index 403c6ca..a00528b 100644 (file)
@@ -105,7 +105,7 @@ 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->setSize(5);