X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=admin_team_edit.php;h=61828e166db539f10b0cf96cda424d2d2e7596e5;hb=5a989e29aed5ad95f7b4a4082a2d88b924523968;hp=6f44ee9a7d99ae60bcf82089a3da09b1226ad4fb;hpb=785d404c84c153bda7d45d3aedfefa81985703b3;p=timetracker.git diff --git a/admin_team_edit.php b/admin_team_edit.php index 6f44ee9a..61828e16 100644 --- a/admin_team_edit.php +++ b/admin_team_edit.php @@ -32,7 +32,7 @@ import('ttUserHelper'); import('ttTeamHelper'); // Access check. -if (!ttAccessCheck(right_administer_site)) { +if (!ttAccessAllowed('administer_site')) { header('Location: access_denied.php'); exit(); }