mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Fixed Post Redirection on edit and archive in categories
This commit is contained in:
4
post.php
4
post.php
@@ -1364,7 +1364,7 @@ if(isset($_POST['edit_category'])){
|
||||
|
||||
$_SESSION['alert_message'] = "Category modified";
|
||||
|
||||
header("Location: categories.php");
|
||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
||||
|
||||
}
|
||||
|
||||
@@ -1378,7 +1378,7 @@ if(isset($_GET['archive_category'])){
|
||||
|
||||
$_SESSION['alert_message'] = "Category Archived";
|
||||
|
||||
header("Location: categories.php");
|
||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user