Redirect to dashboard when switching companies

This commit is contained in:
johnnyq 2021-08-21 01:24:08 -04:00
parent 6a8283200f
commit 1dfa5de130
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ if(isset($_GET['switch_company'])){
$_SESSION['alert_type'] = "info";
$_SESSION['alert_message'] = "Switched Companies!";
header("Location: " . $_SERVER["HTTP_REFERER"]);
header("Location: dashboard.php");
}