X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/45c855269d952873285f7a835e82fc2b3eff3971..995feb6c9e97991e5b9d9803fbc3c8a41ac48922:/admin_team_delete.php diff --git a/admin_team_delete.php b/admin_team_delete.php index 61a17041..99d508fb 100644 --- a/admin_team_delete.php +++ b/admin_team_delete.php @@ -51,20 +51,20 @@ if ($request->isPost()) { $admin = new ttAdmin(); $result = $admin->markGroupDeleted($group_id); if ($result) { - header('Location: admin_teams.php'); + header('Location: admin_groups.php'); exit(); } else $err->add($i18n->get('error.db')); } if ($request->getParameter('btn_cancel')) { - header('Location: admin_teams.php'); + header('Location: admin_groups.php'); exit(); } } // isPost $smarty->assign('team_to_delete', $team_name); $smarty->assign('forms', array($form->getName()=>$form->toArray())); -$smarty->assign('title', $i18n->get('title.delete_team')); +$smarty->assign('title', $i18n->get('title.delete_group')); $smarty->assign('content_page_name', 'admin_team_delete.tpl'); $smarty->display('index.tpl');