mirror of
https://github.com/itflow-org/itflow
synced 2026-03-20 20:54:50 +00:00
Adjust redirect after notification dismissal to be to the referer page
This commit is contained in:
2
post.php
2
post.php
@@ -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