diff --git a/error.php b/error.php index 8ebc418..61afa0c 100644 --- a/error.php +++ b/error.php @@ -14,7 +14,7 @@ $conType = $_POST['err']; } else { $conType = $_GET['err']; } -if(isset($conType)) { +if(!isset($conType)) { header("Location: /"); } if($conType == 404) {