Adjust redirect after notification dismissal to be to the referer page
This commit is contained in:
@@ -2948,7 +2948,7 @@ if(isset($_GET['dismiss_all_notifications'])){
|
|||||||
|
|
||||||
$_SESSION['alert_message'] = "$num_notifications Notifications Dismissed";
|
$_SESSION['alert_message'] = "$num_notifications Notifications Dismissed";
|
||||||
|
|
||||||
header("Location: notifications.php");
|
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user