Update change_torrent.php

This commit is contained in:
Roman Kelesidis 2023-08-24 14:07:42 +07:00
parent da1665e6c6
commit c1af853027

View File

@ -10,7 +10,7 @@ if (!isset($this->request['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'];