X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/a37376aa8be3ada18b8c05a8661dfd3cc3ca6784..270e151b8e401b815c6920a2d56e67db9e8b8e98:/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 +?>