mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
fix compatibility with php8
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ loggedinorreturn();
|
||||
if (get_user_class() < $askreseed_class)
|
||||
permissiondenied();
|
||||
|
||||
$reseedid = 0 + $_GET["reseedid"];
|
||||
$reseedid = $_GET["reseedid"] ?? 0;
|
||||
$res = sql_query("SELECT seeders, last_reseed FROM torrents WHERE id=".sqlesc($reseedid)." LIMIT 1") or sqlerr(__FILE__, __LINE__);
|
||||
$row = mysql_fetch_array($res);
|
||||
if ($row['seeders'] > 0)
|
||||
|
||||
Reference in New Issue
Block a user