Fixed constructor calls for FloatField elements to have only one parameter.
[timetracker.git] / mobile / user_edit.php
index 6077a13..4f3b9aa 100644 (file)
@@ -135,7 +135,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);