]> wagnertech.de Git - timetracker.git/blobdiff - user_add.php
Further refactoring of the FormElement class.
[timetracker.git] / user_add.php
index 08d66a7ef0404b9cee7b85d50258e875cd384c9f..6b5befe908d34633df59af042d54683c936231e1 100644 (file)
@@ -107,7 +107,7 @@ 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) {