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