Update change_torrent.php

This commit is contained in:
Roman Kelesidis 2023-07-18 01:04:26 +07:00
commit 9d4bef3598

View file

@ -17,7 +17,7 @@ if (!isset($this->request['attach_id'])) {
$this->ajax_die($lang['EMPTY_ATTACH_ID']);
}
if (!isset($this->request['type'])) {
$this->ajax_die('type');
$this->ajax_die('empty type');
}
$attach_id = (int)$this->request['attach_id'];
$type = (string)$this->request['type'];