X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=users.php;h=79f2df3e6c52bfe5c4a58f122223ad0cc2201420;hb=c138ab042a599beb780895e5a5f54a1b287d67ae;hp=3fc266775d68ff0d7a487635ec221c26dc4a1620;hpb=fe40891a4ad16b5b70d518e8b5b2596267b684f9;p=timetracker.git diff --git a/users.php b/users.php index 3fc26677..79f2df3e 100644 --- a/users.php +++ b/users.php @@ -33,7 +33,7 @@ import('ttTimeHelper'); import('ttRoleHelper'); // Access check. -if (!ttAccessCheck(right_data_entry)) { +if (!ttAccessAllowed('view_users')) { header('Location: access_denied.php'); exit(); }