[Web] Fix: show success message after quarantine action

[Git] Add ignore
This commit is contained in:
andryyy
2020-07-12 21:42:36 +02:00
parent 1dc95ba3d3
commit 9860b62d4e
2 changed files with 2 additions and 1 deletions

View File

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