mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
fix warning
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ require_once(get_langfile_path());
|
||||
loggedinorreturn();
|
||||
if ($_SERVER["REQUEST_METHOD"] == "POST")
|
||||
{
|
||||
$torrentid = 0+$_POST['id'];
|
||||
$torrentid = $_POST['id'] ?? 0;
|
||||
$type = $_POST['type'];
|
||||
$hidenotice = $_POST['hidenotice'];
|
||||
if (!$torrentid || !in_array($type,array('firsttime', 'client', 'ratio')))
|
||||
|
||||
Reference in New Issue
Block a user