X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/098a79f0819ebb89b7d48df4a6b154af4560f68e..d9b4512fae9de17f4bc9d77c7532db6ada9bf8c3:/index.php diff --git a/index.php b/index.php index d390ebfa..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(); } } @@ -78,4 +77,3 @@ if ($mobileBrowser) { -