X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/d26c95718cac0a2994ab4e9633b59f420a0816b4..48da6c320f5b4ff9fcfe0832e87b5ed48cdb1e60:/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(); }