X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/9a23a8c0a51b7ec38a96f525484134f3cb85dc7e..270e151b8e401b815c6920a2d56e67db9e8b8e98:/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.