X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/fd0872d9e582113346fa1e93557f370286c5c9f2..1a11a94d4ec3f33d7f92145ad8d6fa8eec4b18ac:/profile_edit.php diff --git a/profile_edit.php b/profile_edit.php index 9c27ab41..2fed4f6b 100644 --- a/profile_edit.php +++ b/profile_edit.php @@ -31,11 +31,12 @@ import('form.Form'); import('ttUserHelper'); import('ttRoleHelper'); -// Access check. +// Access checks. if (!ttAccessAllowed('manage_own_settings')) { header('Location: access_denied.php'); exit(); } +// End of access checks. if (!defined('CURRENCY_DEFAULT')) define('CURRENCY_DEFAULT', '$'); $can_change_login = $user->canManageTeam();