From 36e4e3e4b457c992317212738d10693c269a4f6e Mon Sep 17 00:00:00 2001 From: anuko Date: Sun, 5 Feb 2017 19:21:38 +0000 Subject: [PATCH] Fixed constructor calls for FloatField elements to have only one parameter. --- WEB-INF/templates/footer.tpl | 2 +- mobile/user_add.php | 2 +- mobile/user_edit.php | 2 +- user_add.php | 2 +- user_edit.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) 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); -- 2.20.1