Adjust redirect after notification dismissal to be to the referer page

This commit is contained in:
Marcus Hill
2023-02-08 10:44:47 +00:00
parent b1e2f15148
commit 33a5a75cfb
+1 -1
View File
@@ -2948,7 +2948,7 @@ if(isset($_GET['dismiss_all_notifications'])){
$_SESSION['alert_message'] = "$num_notifications Notifications Dismissed";
header("Location: notifications.php");
header("Location: " . $_SERVER["HTTP_REFERER"]);
}