X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/a37376aa8be3ada18b8c05a8661dfd3cc3ca6784..a8ef8ed3ff0aca2d4429b08cc7ff37bd273f4547:/index.php diff --git a/index.php b/index.php index a6eac171..51e1e016 100644 --- a/index.php +++ b/index.php @@ -33,10 +33,9 @@ if ($auth->isAuthenticated()) { if ($user->isAdmin()) { header('Location: admin_teams.php'); exit(); - } - else if ($user->isClient()) { + } elseif ($user->isClient()) { header('Location: reports.php'); - exit(); + exit(); } } @@ -77,4 +76,4 @@ if ($mobileBrowser) { \ No newline at end of file +?>