Replacing else if with elseif
[timetracker.git] / mobile / index.php
index a283665..1c7cf23 100644 (file)
@@ -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();
   }