X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=admin_teams.php;h=9c3d2092c187918010e71636c4cdeffcaae85b18;hb=9eee35c738a83c870e8d6dfda19d859bd063b233;hp=73777d22a0b4c435b5b92eebca343e50db1f8dd9;hpb=251996aed11c648ecaa30f77383e0384bfadf7a5;p=timetracker.git diff --git a/admin_teams.php b/admin_teams.php index 73777d22..9c3d2092 100644 --- a/admin_teams.php +++ b/admin_teams.php @@ -31,7 +31,7 @@ import('form.Form'); import('ttTeamHelper'); // Access check. -if (!ttAccessCheck(right_administer_site)) { +if (!ttAccessAllowed('administer_site')) { header('Location: access_denied.php'); exit(); } @@ -40,4 +40,3 @@ $smarty->assign('teams', ttTeamHelper::getTeams()); $smarty->assign('title', $i18n->getKey('title.teams')); $smarty->assign('content_page_name', 'admin_teams.tpl'); $smarty->display('index.tpl'); -?> \ No newline at end of file