X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=index.php;h=51e1e016f5d48a86f5f37c460d916369d26b24d7;hb=7341c172b0754194233c787f14f2cde95c75205d;hp=a6eac171b88057991f69c70f15d0db533c438f6f;hpb=a37376aa8be3ada18b8c05a8661dfd3cc3ca6784;p=timetracker.git 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 +?>