X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=mobile%2Findex.php;h=1c7cf231ccc4e62414ffc58ca8785904cba36fbc;hb=5f64df1308fd641565631e6e38d282432f5e6250;hp=de48595caa163fa20e990680fccf1c94f2f8cec6;hpb=9a23a8c0a51b7ec38a96f525484134f3cb85dc7e;p=timetracker.git 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.