X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/785d404c84c153bda7d45d3aedfefa81985703b3..b859fc87dd294eaac78be9b19e11ef823d6e23f8:/mobile/user_add.php diff --git a/mobile/user_add.php b/mobile/user_add.php index c1f7e291..7737ed9a 100644 --- a/mobile/user_add.php +++ b/mobile/user_add.php @@ -34,7 +34,7 @@ import('form.Table'); import('form.TableColumn'); // Access check. -if (!ttAccessCheck(right_manage_team)) { +if (!ttAccessAllowed('manage_users')) { header('Location: access_denied.php'); exit(); } @@ -107,7 +107,6 @@ class RateCellRenderer extends DefaultCellRenderer { global $assigned_projects; $field = new FloatField('rate_'.$table->getValueAtName($row, 'id')); $field->setFormName($table->getFormName()); - $field->localize($GLOBALS['I18N']); $field->setSize(5); $field->setFormat('.2'); foreach ($assigned_projects as $p) {