Update admin, user, guest and client post to use new redirect function

This commit is contained in:
johnnyq
2025-08-01 15:25:52 -04:00
parent 5d52b6c4ec
commit d2dac1915d
75 changed files with 457 additions and 457 deletions

View File

@@ -12,7 +12,7 @@ if(isset($_POST['change_records_per_page'])){
mysqli_query($mysqli,"UPDATE user_settings SET user_config_records_per_page = $records_per_page WHERE user_id = $session_user_id");
header("Location: " . $_SERVER["HTTP_REFERER"]);
redirect();
}
@@ -29,7 +29,7 @@ if (isset($_GET['dismiss_notification'])) {
$_SESSION['alert_message'] = "Notification Dismissed";
header("Location: " . $_SERVER["HTTP_REFERER"]);
redirect();
}
@@ -54,7 +54,7 @@ if (isset($_GET['dismiss_all_notifications'])) {
$_SESSION['alert_message'] = "<strong>$num_notifications</strong> Notifications Dismissed";
header("Location: " . $_SERVER["HTTP_REFERER"]);
redirect();
}
@@ -78,5 +78,5 @@ if (isset($_GET['deactivate_shared_item'])) {
$_SESSION['alert_message'] = "Share Link deactivated";
header("Location: " . $_SERVER["HTTP_REFERER"]);
redirect();
}