X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/c4ba91b8e545d337e78496d0b780dc30b46ec05f..70272dc970919c348288bd09ff835f05e7538949:/index.php 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(); }