From: anuko Date: Sun, 5 Feb 2017 19:21:38 +0000 (+0000) Subject: Fixed constructor calls for FloatField elements to have only one parameter. X-Git-Tag: timetracker_1.19-1~1589 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=36e4e3e4b457c992317212738d10693c269a4f6e;p=timetracker.git Fixed constructor calls for FloatField elements to have only one parameter. --- diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index ccb95b93..c07d43bb 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.9.36.3564 | Copyright © Anuko | +  Anuko Time Tracker 1.9.36.3565 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/mobile/user_add.php b/mobile/user_add.php index f42dd4dd..34c48222 100644 --- a/mobile/user_add.php +++ b/mobile/user_add.php @@ -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); diff --git a/mobile/user_edit.php b/mobile/user_edit.php index 6077a13a..4f3b9aaa 100644 --- a/mobile/user_edit.php +++ b/mobile/user_edit.php @@ -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); diff --git a/user_add.php b/user_add.php index 403c6ca6..a00528bf 100644 --- a/user_add.php +++ b/user_add.php @@ -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); diff --git a/user_edit.php b/user_edit.php index 0dc7afb3..ac1143f3 100644 --- a/user_edit.php +++ b/user_edit.php @@ -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);