X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/a37376aa8be3ada18b8c05a8661dfd3cc3ca6784..1b6699f3d4ad1961fa4055ec0033bc10f0b06b83:/index.php?ds=inline 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 +?>