X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/d26c95718cac0a2994ab4e9633b59f420a0816b4..e185de998d8ed94cef7b3e2b63cc63d5c64ce6cb:/index.php diff --git a/index.php b/index.php index 610794e0..51e1e016 100644 --- a/index.php +++ b/index.php @@ -33,8 +33,7 @@ if ($auth->isAuthenticated()) { if ($user->isAdmin()) { header('Location: admin_teams.php'); exit(); - } - else if ($user->isClient()) { + } elseif ($user->isClient()) { header('Location: reports.php'); exit(); }