mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 03:14:52 +00:00
Redirect to dashboard when switching companies
This commit is contained in:
2
post.php
2
post.php
@@ -26,7 +26,7 @@ if(isset($_GET['switch_company'])){
|
|||||||
$_SESSION['alert_type'] = "info";
|
$_SESSION['alert_type'] = "info";
|
||||||
$_SESSION['alert_message'] = "Switched Companies!";
|
$_SESSION['alert_message'] = "Switched Companies!";
|
||||||
|
|
||||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
header("Location: dashboard.php");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user