Replacing else if with elseif
[timetracker.git] / index.php
index 610794e..51e1e01 100644 (file)
--- a/index.php
+++ b/index.php
@@ -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();
   }