X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=admin_teams.php;h=9c3d2092c187918010e71636c4cdeffcaae85b18;hb=9eee35c738a83c870e8d6dfda19d859bd063b233;hp=a1f848a4f4a7d9766320bdf0efe7b570a5a4b075;hpb=5ef582473f6b329be18ad83c61e053fdcd9c6ed5;p=timetracker.git diff --git a/admin_teams.php b/admin_teams.php index a1f848a4..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(); }