mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-19 21:03:54 -07:00
Update change_torrent.php
This commit is contained in:
parent
7f9b974c09
commit
9d4bef3598
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ if (!isset($this->request['attach_id'])) {
|
||||||
$this->ajax_die($lang['EMPTY_ATTACH_ID']);
|
$this->ajax_die($lang['EMPTY_ATTACH_ID']);
|
||||||
}
|
}
|
||||||
if (!isset($this->request['type'])) {
|
if (!isset($this->request['type'])) {
|
||||||
$this->ajax_die('type');
|
$this->ajax_die('empty type');
|
||||||
}
|
}
|
||||||
$attach_id = (int)$this->request['attach_id'];
|
$attach_id = (int)$this->request['attach_id'];
|
||||||
$type = (string)$this->request['type'];
|
$type = (string)$this->request['type'];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue