From 3ce0fa32369cacdea65a84e59d4dc39a1ce1162b Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Tue, 3 Oct 2023 18:15:25 +0700 Subject: [PATCH] Update ajax.php --- ajax.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ajax.php b/ajax.php index 5b803316..d31e87da 100644 --- a/ajax.php +++ b/ajax.php @@ -29,12 +29,16 @@ switch ($ajax->action) case 'view_torrent': case 'mod_action': case 'change_tor_status': - case 'change_torrent': case 'gen_passkey': require(ATTACH_DIR . 'attachment_mod.php'); require(INC_DIR . 'functions_torrent.php'); break; + case 'change_torrent': + require(ATTACH_DIR . 'attachment_mod.php'); + require(INC_DIR . 'functions_torrent.php'); + break; + case 'user_register': require(INC_DIR . 'functions_validate.php'); break;