X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/9a23a8c0a51b7ec38a96f525484134f3cb85dc7e..aa9a80e15526b4b70cdf8360e35a0d44de43cf66:/mobile/index.php diff --git a/mobile/index.php b/mobile/index.php index de48595c..1c7cf231 100644 --- a/mobile/index.php +++ b/mobile/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(); } } // Redirect to time.php or mobile/time.php for other roles.