mirror of https://github.com/itflow-org/itflow
Fixed Post Redirection on edit and archive in categories
This commit is contained in:
parent
94c0ac2dd1
commit
3a9ea1d67e
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"]);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue