Update index.php
authorPatrick McGuire <insidenothing@gmail.com>
Thu, 21 May 2020 19:03:28 +0000 (15:03 -0400)
committerGitHub <noreply@github.com>
Thu, 21 May 2020 19:03:28 +0000 (15:03 -0400)
admin/index.php

index 5a2086d..0c40257 100644 (file)
@@ -3,11 +3,11 @@ include_once('../slack.php');
 include_once('security.php');
 if ($_COOKIE['level'] == 'user'){
   slack_general('ADMIN: Redirect User Home ('.$_COOKIE['name'].') ('.$_COOKIE['level'].')','md-petition');
-  header('Location user_home.php');
+  header('Location: user_home.php');
 }
 if ($_COOKIE['level'] == 'manager'){
   slack_general('ADMIN: Redirect Manager Home ('.$_COOKIE['name'].') ('.$_COOKIE['level'].')','md-petition');
-  header('Location manager_home.php');
+  header('Location: manager_home.php');
 }
 
 include_once('header.php');