]> wagnertech.de Git - timetracker.git/blobdiff - charts.php
Update for tt_users created field.
[timetracker.git] / charts.php
index c76eddfa549b296d4b1807ed6886cd72908805c5..9df70d55e96ae057fb7bd11d0ede32741720bf5a 100644 (file)
@@ -38,7 +38,7 @@ import('ttUserHelper');
 import('ttTeamHelper');
 
 // Access check.
-if (!ttAccessCheck(right_view_charts) || !$user->isPluginEnabled('ch')) {
+if (!ttAccessAllowed('view_own_charts') || !$user->isPluginEnabled('ch')) {
   header('Location: access_denied.php');
   exit();
 }