Fixed Post Redirection on edit and archive in categories

This commit is contained in:
johnnyq 2021-08-28 11:58:29 -04:00
parent 94c0ac2dd1
commit 3a9ea1d67e
1 changed files with 2 additions and 2 deletions

View File

@ -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"]);
}