X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/a8a191541d6f05b08bd8331bdf409af5abfac896..995feb6c9e97991e5b9d9803fbc3c8a41ac48922:/admin_team_add.php diff --git a/admin_team_add.php b/admin_team_add.php index 6a8b05d5..7904d9f2 100644 --- a/admin_team_add.php +++ b/admin_team_add.php @@ -107,7 +107,7 @@ if ($request->isPost()) { $registrator->register(); $registrator->setCreatedBy($user->id); // Override created_by to admin account. if ($err->no()) { - header('Location: admin_teams.php'); + header('Location: admin_groups.php'); exit(); } } // isPost @@ -116,5 +116,5 @@ $smarty->assign('auth_external', $auth->isPasswordExternal()); $smarty->assign('forms', array($form->getName()=>$form->toArray())); $smarty->assign('onload', 'onLoad="document.teamForm.team.focus()"'); $smarty->assign('content_page_name', 'admin_team_add.tpl'); -$smarty->assign('title', $i18n->get('title.create_team')); +$smarty->assign('title', $i18n->get('title.create_group')); $smarty->display('index.tpl');