[Web] Fix: show success message after quarantine action
[Git] Add ignore
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
session_start();
|
||||
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/prerequisites.inc.php';
|
||||
if (quarantine('hash_details', $_GET['hash']) === false) {
|
||||
if (quarantine('hash_details', $_GET['hash']) === false && !isset($_POST)) {
|
||||
header('Location: /admin');
|
||||
exit();
|
||||
}
|
||||
|
Reference in New Issue
Block a user